Enrico Scholz 0236ee5eaa PROXY: implemented native proxy support
This patch creates a hook into the net_connect*() methods which call a
method to connect to a proxy.

Previous solution to send certain strings in the normal IRC dialog was
some kind of hack as most proxies require some kind of negotation.

E.g. HTTP proxies sent a 'HTTP/1.0 200 Connection established' HTTP header
and clients have to wait for it.  Else, sent bytes of the following IRC
login will be dropped silently.

With old method, it is also impossible to tunnel SSL IRC connections
through the proxy as proxy speaks plain text or a special protocol while
e.g. 'CONNECT ... HTTP/1.0' will be encrypted with key of IRC server.

There are further enhancements possible: the whole net_connect stuff
should be made asynchronously. Currently, only the hostname is resolved
in the background (which makes little sense of local proxies usually).
2014-10-03 15:06:20 +02:00
..
2002-05-17 15:22:05 +00:00
2007-05-24 00:25:36 +00:00
2009-02-28 20:51:22 +00:00
2014-07-04 23:48:41 +02:00
2007-05-08 18:41:10 +00:00
2014-07-07 22:26:04 +02:00
2014-07-06 23:24:09 +02:00
2000-04-26 08:03:38 +00:00
2008-02-04 15:30:38 +00:00
2014-06-15 23:38:05 +02:00
2014-07-06 23:24:09 +02:00
2014-07-06 23:24:09 +02:00
2010-04-03 20:04:15 +00:00
2007-05-24 00:25:36 +00:00
2014-07-12 16:35:42 -04:00
2007-05-08 18:41:10 +00:00