Your message dated Mon, 25 Apr 2016 17:11:04 +0000 with message-id <[email protected]> and subject line Bug#822079: Removed package(s) from unstable has caused the Debian Bug report #540178, regarding libnanohttp1: infinite loop on closed socket to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 540178: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540178 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libnanohttp1 Version: 1.1.0-16 Severity: normal 00:03:36.475727 read(9, ""..., 2048) = 0 00:03:36.475829 select(10, [9], NULL, NULL, {5, 0}) = 1 (in [9], left {5, 0}) 00:03:36.475944 read(9, ""..., 2048) = 0 00:03:36.476038 select(10, [9], NULL, NULL, {5, 0}) = 1 (in [9], left {5, 0}) My SOAP client program has gone into an infinite loop, it looped for a day in the above. The following patch (which is not tested at this time) should fix it. diff -ru libcsoap-1.1.0.bak/nanohttp/nanohttp-ssl.c libcsoap-1.1.0/nanohttp/nanohttp-ssl.c --- libcsoap-1.1.0.bak/nanohttp/nanohttp-ssl.c 2009-07-19 15:46:58.000000000 +1000 +++ libcsoap-1.1.0/nanohttp/nanohttp-ssl.c 2009-08-06 22:45:48.000000000 +1000 @@ -543,13 +543,17 @@ } else { - if ((count = hsocket_select_read(sock->sock, buf, len)) == -1) + count = hsocket_select_read(sock->sock, buf, len); + if(count == -1) { char err_buf[256]; strerror_r(errno, err_buf, sizeof(err_buf)); return herror_new("hssl_read", HSOCKET_ERROR_RECEIVE, "recv failed (%s)", err_buf); } + if(count == 0) + return herror_new("hssl_read", HSOCKET_ERROR_RECEIVE, + "recv failed (socket closed)"); } *received = count;
--- End Message ---
--- Begin Message ---Version: 1.1.0-17.2+rm Dear submitter, as the package libcsoap has just been removed from the Debian archive unstable we hereby close the associated bug reports. We are sorry that we couldn't deal with your issue properly. For details on the removal, please see https://bugs.debian.org/822079 The version of this package that was in Debian prior to this removal can still be found using http://snapshot.debian.org/. This message was generated automatically; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]. Debian distribution maintenance software pp. Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---

