src/proxy.c

changeset 349
6f7d28b0f98d
parent 338
21c93bc7ae83
child 664
5885765c40c6
equal deleted inserted replaced
348:8360680eb3c4 349:6f7d28b0f98d
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>

mercurial