aboutsummaryrefslogtreecommitdiffstats
path: root/proxy/proxy_http_int.h
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/proxy_http_int.h')
-rw-r--r--proxy/proxy_http_int.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/proxy/proxy_http_int.h b/proxy/proxy_http_int.h
index d0a6bc0..6daa9cb 100644
--- a/proxy/proxy_http_int.h
+++ b/proxy/proxy_http_int.h
@@ -18,7 +18,7 @@
/* the HttpService object */
typedef struct HttpService {
ProxyService root[1];
- struct sockaddr_in server_addr; /* server address and port */
+ SockAddress server_addr; /* server address and port */
char* footer; /* the footer contains the static parts of the */
int footer_len; /* connection header, we generate it only once */
char footer0[512];
@@ -26,13 +26,13 @@ typedef struct HttpService {
/* create a CONNECT connection (for port != 80) */
extern ProxyConnection* http_connector_connect(
- HttpService* service,
- struct sockaddr_in* address );
+ HttpService* service,
+ SockAddress* address );
/* create a HTTP rewriting connection (for port == 80) */
extern ProxyConnection* http_rewriter_connect(
- HttpService* service,
- struct sockaddr_in* address );
+ HttpService* service,
+ SockAddress* address );
#endif /* _PROXY_HTTP_INT_H */