Propagate errno from the proxy connection functions
authorFederico Mena Quintero <federico@novell.com>
Tue, 1 Jun 2010 19:48:13 +0000 (14:48 -0500)
committerFederico Mena Quintero <federico@novell.com>
Wed, 2 Jun 2010 22:44:54 +0000 (17:44 -0500)
commitf0b8370563d3ab644b973b0270985a8b8928e17a
treeca82930b8730917ab1c609b0dbf2e67fbd140d41
parentd259a738dff84880b7d9b9cd51cc90af8803033c
Propagate errno from the proxy connection functions

One missing case, however, is at the step where we camel_getaddrinfo() for the
proxy hostname.  That function returns a CamelException, but we don't have a
good way to translate that to an errno.  So, we return a EHOSTUNREACH in
that case.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
camel/camel-tcp-stream-raw.c
camel/camel-tcp-stream-ssl.c