From: hno <> Date: Wed, 26 Jul 2006 00:04:38 +0000 (+0000) Subject: Bug #1381: assertion failed: cbdata.cc:367: "c->locks < 65535" X-Git-Tag: SQUID_3_0_PRE5~212 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=94c3d66ff896005c9c7a04ea94d14052985e43ef;p=thirdparty%2Fsquid.git Bug #1381: assertion failed: cbdata.cc:367: "c->locks < 65535" there was double cbdata references to the https_port in httpsAccept(). --- diff --git a/src/client_side.cc b/src/client_side.cc index 8aa73c5d93..d39f3a4c8e 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.728 2006/06/07 22:39:34 hno Exp $ + * $Id: client_side.cc,v 1.729 2006/07/25 18:04:38 hno Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -3007,11 +3007,10 @@ httpsAccept(int sock, int newfd, ConnectionDetail *details, fd_table[newfd].ssl = ssl; fd_table[newfd].read_method = &ssl_read_method; fd_table[newfd].write_method = &ssl_write_method; + debug(50, 5) ("httpsAccept: FD %d accepted, starting SSL negotiation.\n", newfd); fd_note(newfd, "client https connect"); - connState = connStateCreate(&details->peer, &details->me, newfd, (http_port_list *)s); - connState->port = (http_port_list *)cbdataReference(s); comm_add_close_handler(newfd, connStateFree, connState); if (Config.onoff.log_fqdn)