This is a squid Assertion inside ConnStateData::getSslContextDone while setting timeout. The reason is that the ConnStateData::clientConnection connection may
closed while waiting response from ssl_crtd helper.
This is a Measurement Factory project
void
ConnStateData::sslCrtdHandleReply(const Helper::Reply &reply)
{
+ if (!isOpen()) {
+ debugs(33, 3, "Connection gone while waiting for ssl_crtd helper reply; helper reply:" << reply);
+ return;
+ }
+
if (reply.result == Helper::BrokenHelper) {
debugs(33, 5, HERE << "Certificate for " << sslConnectHostOrIp << " cannot be generated. ssl_crtd response: " << reply);
} else if (!reply.other().hasContent()) {
SSL *
SslCreate(SSL_CTX *sslContext, const int fd, Ssl::Bio::Type type, const char *squidCtx)
{
+ if (fd < 0) {
+ debugs(83, DBG_IMPORTANT, "Gone connection");
+ return NULL;
+ }
+
const char *errAction = NULL;
int errCode = 0;
if (SSL *ssl = SSL_new(sslContext)) {