You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by or...@apache.org on 2001/07/31 21:19:34 UTC

cvs commit: httpd-proxy/module-2.0 mod_proxy.h proxy_util.c

orlikowski    01/07/31 12:19:34

  Modified:    module-2.0 mod_proxy.h proxy_util.c
  Log:
  After checking what this does with Bill Rowe, and discovering it to be dead
  wood, I am tossing it.
  
  Revision  Changes    Path
  1.57      +0 -9      httpd-proxy/module-2.0/mod_proxy.h
  
  Index: mod_proxy.h
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/mod_proxy.h,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- mod_proxy.h	2001/07/31 19:12:56	1.56
  +++ mod_proxy.h	2001/07/31 19:19:34	1.57
  @@ -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
  @@ -182,12 +179,6 @@
       long maxfwd;
       char maxfwd_set;
   } proxy_server_conf;
  -
  -struct per_thread_data {
  -    struct hostent hpbuf;
  -    u_long ipaddr;
  -    char *charpbuf[2];
  -};
   
   typedef struct {
       conn_rec *connection;
  
  
  
  1.66      +0 -28     httpd-proxy/module-2.0/proxy_util.c
  
  Index: proxy_util.c
  ===================================================================
  RCS file: /home/cvs/httpd-proxy/module-2.0/proxy_util.c,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- proxy_util.c	2001/07/31 19:12:56	1.65
  +++ proxy_util.c	2001/07/31 19:19:34	1.66
  @@ -1061,31 +1061,3 @@
           }
       }
   }
  -
  -#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