aboutsummaryrefslogtreecommitdiffstats
path: root/lib/proxy.h
Commit message (Collapse)AuthorAgeLines
* Add proxy_disconnect() to interrupt possibly pending connectionsdequis2015-10-26-0/+1
| | | | | | | | | | | Fixes trac ticket 1198, https://bugs.bitlbee.org/bitlbee/ticket/1198 This function can be used as a safe drop-in replacement to closesocket() If a proxy connection is pending (connected callback still not called), it looks up the PHB in a hash table indexed by fd. If it is there, it closes, frees the phb and avoids further calls to the callback. If it is not in there, it just does closesocket()
* socks4a proxy support (like socks4 with remote DNS)dequis2015-10-21-0/+1
| | | | | | | | | Fixes trac ticket 995 https://bugs.bitlbee.org/bitlbee/ticket/995 This is slightly pointless for the suggested use case (tor), since with socks5 we already send a hostname instead of an IP address. Either way, it was easy to implement, so I hope it helps.
* Reindent everything to K&R style with tabsIndent2015-02-20-3/+3
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-1/+1
|
* RIP native win32 support (use cygwin instead)dequis2014-09-27-2/+0
| | | | It has been broken for a very long time and nobody cared about it.
* Moving all generic files to lib/ instead of having some in / and some inWilmer van der Gaast2006-06-25-0/+53
protocols/, and adding RC4 code.