From: hno <> Date: Fri, 18 Mar 2005 22:22:05 +0000 (+0000) Subject: From ssl-2.5 2004/04/18 01:09:07 X-Git-Tag: SQUID_3_0_PRE4~842 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81680607274060079b031991447a15970690f4b6;p=thirdparty%2Fsquid.git From ssl-2.5 2004/04/18 01:09:07 Improve error reporting when establishing outgoing SSL connection fails to negotiate. --- diff --git a/src/forward.cc b/src/forward.cc index d2916bee25..679204ad2f 100644 --- a/src/forward.cc +++ b/src/forward.cc @@ -1,6 +1,6 @@ /* - * $Id: forward.cc,v 1.125 2005/02/27 16:36:07 serassio Exp $ + * $Id: forward.cc,v 1.126 2005/03/18 15:22:05 hno Exp $ * * DEBUG: section 17 Request Forwarding * AUTHOR: Duane Wessels @@ -286,7 +286,7 @@ fwdNegotiateSSL(int fd, void *data) return; default: - debug(81, 1) ("fwdNegotiateSSL: Error negotiating SSL connection on FD %d: %s (%d/%d)\n", fd, ERR_error_string(ERR_get_error(), NULL), ssl_error, ret); + debug(81, 1) ("fwdNegotiateSSL: Error negotiating SSL connection on FD %d: %s (%d/%d/%d)\n", fd, ERR_error_string(ERR_get_error(), NULL), ssl_error, ret, errno); err = errorCon(ERR_CONNECT_FAIL, HTTP_SERVICE_UNAVAILABLE); #ifdef EPROTO