Sebastian Spaeth 3dc9fc519a Throw errors on connection refused and on non-standard SSL ports
We were "crashing" with tracebacks when we could not connect to a host,
(e.g. because no service was on the port) and we were getting mysterious
SSL tracebacks when someone tried to connect via SSL to a non-ssl port.

In these cases, we will now throw an nice error message. On python<2.6
where no ssl module exists, we simply won't throw those errors.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-06-06 21:33:16 +02:00
..
2011-05-25 21:54:55 +02:00
2011-05-16 18:54:22 +02:00
2011-05-09 22:42:15 +02:00
2011-05-05 20:00:07 +02:00
2011-04-11 19:10:45 +02:00
2006-08-12 05:15:55 +01:00
2011-05-08 14:25:16 +02:00