Loading modules/proxy/mod_proxy.h +0 −9 Original line number Diff line number Diff line Loading @@ -108,9 +108,6 @@ #include "mod_core.h" #if APR_HAVE_NETDB_H #include <netdb.h> #endif #if APR_HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif Loading Loading @@ -183,12 +180,6 @@ typedef struct { char maxfwd_set; } proxy_server_conf; struct per_thread_data { struct hostent hpbuf; u_long ipaddr; char *charpbuf[2]; }; typedef struct { conn_rec *connection; char *hostname; Loading modules/proxy/proxy_util.c +0 −28 Original line number Diff line number Diff line Loading @@ -1061,31 +1061,3 @@ PROXY_DECLARE(void) ap_proxy_reset_output_filters(conn_rec *c) } } } #if defined WIN32 static DWORD tls_index; BOOL WINAPI DllMain (HINSTANCE dllhandle, DWORD reason, LPVOID reserved) { LPVOID memptr; switch (reason) { case DLL_PROCESS_ATTACH: tls_index = TlsAlloc(); case DLL_THREAD_ATTACH: /* intentional no break */ TlsSetValue (tls_index, malloc (sizeof (struct per_thread_data))); break; case DLL_THREAD_DETACH: memptr = TlsGetValue (tls_index); if (memptr) { free (memptr); TlsSetValue (tls_index, 0); } break; } return TRUE; } #endif Loading
modules/proxy/mod_proxy.h +0 −9 Original line number Diff line number Diff line Loading @@ -108,9 +108,6 @@ #include "mod_core.h" #if APR_HAVE_NETDB_H #include <netdb.h> #endif #if APR_HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif Loading Loading @@ -183,12 +180,6 @@ typedef struct { char maxfwd_set; } proxy_server_conf; struct per_thread_data { struct hostent hpbuf; u_long ipaddr; char *charpbuf[2]; }; typedef struct { conn_rec *connection; char *hostname; Loading
modules/proxy/proxy_util.c +0 −28 Original line number Diff line number Diff line Loading @@ -1061,31 +1061,3 @@ PROXY_DECLARE(void) ap_proxy_reset_output_filters(conn_rec *c) } } } #if defined WIN32 static DWORD tls_index; BOOL WINAPI DllMain (HINSTANCE dllhandle, DWORD reason, LPVOID reserved) { LPVOID memptr; switch (reason) { case DLL_PROCESS_ATTACH: tls_index = TlsAlloc(); case DLL_THREAD_ATTACH: /* intentional no break */ TlsSetValue (tls_index, malloc (sizeof (struct per_thread_data))); break; case DLL_THREAD_DETACH: memptr = TlsGetValue (tls_index); if (memptr) { free (memptr); TlsSetValue (tls_index, 0); } break; } return TRUE; } #endif