Commit 79f122d9 authored by Victor J. Orlikowski's avatar Victor J. Orlikowski
Browse files

After checking what this does with Bill Rowe, and discovering it to be dead

wood, I am tossing it.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89838 13f79535-47bb-0310-9956-ffa450edef68
parent 93702f00
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -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
@@ -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;
+0 −28
Original line number Diff line number Diff line
@@ -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