Changeset 12f041d for lib/url.h


Ignore:
Timestamp:
2015-10-21T13:14:17Z (4 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
b0da3b8
Parents:
3314ced
Message:

socks4a proxy support (like socks4 with remote DNS)

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/url.h

    r3314ced r12f041d  
    3030#define PROTO_SOCKS4    3
    3131#define PROTO_SOCKS5    4
     32#define PROTO_SOCKS4A   5
    3233#define PROTO_DEFAULT   PROTO_HTTP
    3334
Note: See TracChangeset for help on using the changeset viewer.