aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_upstream_ip_hash_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-10 21:04:37 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-10 21:04:37 +0000
commit8b0a3d2810b46a8435365611d8274b5473429a75 (patch)
tree2da110af0dc82b414a929541c79933437ed7253b /src/http/modules/ngx_http_upstream_ip_hash_module.c
parentf53d0f3177edbf4fa331c0496f0941e6c39a5f7b (diff)
downloadnginx-8b0a3d2810b46a8435365611d8274b5473429a75.tar.gz
nginx-8b0a3d2810b46a8435365611d8274b5473429a75.zip
fix segfault when session was freed twice
Diffstat (limited to 'src/http/modules/ngx_http_upstream_ip_hash_module.c')
-rw-r--r--src/http/modules/ngx_http_upstream_ip_hash_module.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_upstream_ip_hash_module.c b/src/http/modules/ngx_http_upstream_ip_hash_module.c
index ba1cd53ff..3ef424921 100644
--- a/src/http/modules/ngx_http_upstream_ip_hash_module.c
+++ b/src/http/modules/ngx_http_upstream_ip_hash_module.c
@@ -198,9 +198,6 @@ ngx_http_upstream_get_ip_hash_peer(ngx_peer_connection_t *pc, void *data)
pc->sockaddr = peer->sockaddr;
pc->socklen = peer->socklen;
pc->name = &peer->name;
-#if (NGX_SSL)
- pc->ssl_session = peer->ssl_session;
-#endif
/* ngx_unlock_mutex(iphp->rrp.peers->mutex); */