mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Add sockaddr to proxy_conn_rec. Using the workers address
is unsafe for forward proxy workers, cause unlike reverse proxies the forward can have each connection with different remote address. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105046 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -198,6 +198,7 @@ typedef struct {
|
||||
int is_ssl;
|
||||
apr_pool_t *pool; /* Subpool used for creating socket */
|
||||
apr_socket_t *sock; /* Connection socket */
|
||||
apr_sockaddr_t *addr; /* Preparsed remote address info */
|
||||
apr_uint32_t flags; /* Conection flags */
|
||||
int close; /* Close 'this' connection */
|
||||
int close_on_recycle; /* Close the connection when returning to pool */
|
||||
|
Reference in New Issue
Block a user