| 21 |
21 |
| 22 /* this is a little piece of code to handle proxy connection */ |
22 /* this is a little piece of code to handle proxy connection */ |
| 23 /* it is intended to : 1st handle http proxy, using the CONNECT command |
23 /* it is intended to : 1st handle http proxy, using the CONNECT command |
| 24 , 2nd provide an easy way to add socks support */ |
24 , 2nd provide an easy way to add socks support */ |
| 25 |
25 |
| |
26 #ifdef HAVE_CONFIG_H |
| |
27 #include "../config.h" |
| |
28 #endif |
| 26 #include <stdio.h> |
29 #include <stdio.h> |
| 27 #include <stdlib.h> |
30 #include <stdlib.h> |
| 28 #include <string.h> |
31 #include <string.h> |
| 29 #include <sys/types.h> |
32 #include <sys/types.h> |
| 30 #include <sys/socket.h> |
33 #include <sys/socket.h> |