From: Adam Dickmeiss Date: Mon, 25 Jun 2007 18:34:09 +0000 (+0000) Subject: Fixed bug #1208: SSL appears to be broken in ZOOM. The problem occurred X-Git-Tag: YAZ.3.0.10~38 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a5a9ecf542c87afaa06315bcb389686bedae07b3;p=yaz-moved-to-github.git Fixed bug #1208: SSL appears to be broken in ZOOM. The problem occurred when cs_rcvconnect returned 1. In this case no event was not generated. Now ZOOM_EVENT_NONE is created. --- diff --git a/src/zoom-c.c b/src/zoom-c.c index 2cd57cb..ea23a86 100644 --- a/src/zoom-c.c +++ b/src/zoom-c.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: zoom-c.c,v 1.135 2007-06-21 09:00:53 adam Exp $ + * $Id: zoom-c.c,v 1.136 2007-06-25 18:34:09 adam Exp $ */ /** * \file zoom-c.c @@ -1341,7 +1341,7 @@ static zoom_ret ZOOM_connection_send_init(ZOOM_connection c) odr_prepend(c->odr_out, "ZOOM-C", ireq->implementationName)); - version = odr_strdup(c->odr_out, "$Revision: 1.135 $"); + version = odr_strdup(c->odr_out, "$Revision: 1.136 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; ireq->implementationVersion = @@ -4096,6 +4096,8 @@ static void ZOOM_connection_do_io(ZOOM_connection c, int mask) if (c->cs->io_pending & CS_WANT_READ) mask += ZOOM_SELECT_READ; ZOOM_connection_set_mask(c, mask); + event = ZOOM_Event_create(ZOOM_EVENT_NONE); + ZOOM_connection_put_event(c, event); } else if (ret == 0) {