1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Reworked the storage of the client socket between keepalive connections

to fix some nasty problems with the socket lasting longer than the
memory pool it was allocated from.
PR:
Obtained from:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88730 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Graham Leggett
2001-04-05 18:25:04 +00:00
parent c22377f12a
commit afce43baa9
3 changed files with 56 additions and 56 deletions

View File

@@ -167,11 +167,6 @@ struct noproxy_entry {
struct apr_sockaddr_t *addr;
};
struct origin_entry {
conn_rec *origin;
struct origin_entry *next;
};
typedef struct {
apr_array_header_t *proxies;
apr_array_header_t *aliases;
@@ -179,8 +174,10 @@ typedef struct {
apr_array_header_t *noproxies;
apr_array_header_t *dirconn;
apr_array_header_t *allowed_connect_ports;
/* apr_array_header_t *origin_array;*/
conn_rec *origin;
long id;
const char *connectname;
apr_port_t connectport;
apr_socket_t *client_socket;
const char *domain; /* domain name to use in absence of a domain name in the request */
int req; /* true if proxy requests are enabled */
char req_set;