|
From: | Lasa Martxel |
Subject: | [libmicrohttpd] (GNUTLS_E_INTERRUPTED != res) checked twice |
Date: | Tue, 18 Dec 2018 10:46:39 +0000 |
Hello, I have found the following code in daemon.c file, lines 1449 to 1467: if (0 >= res) { if (GNUTLS_E_INTERRUPTED != res) { urh->app.celi &= ~MHD_EPOLL_STATE_WRITE_READY; if (GNUTLS_E_INTERRUPTED != res) (GNUTLS_E_INTERRUPTED != res) is checked twice. In the read part (a few lines above), GNUTLS_E_INTERRUPTED != res is checked first and then GNUTLS_E_AGAIN != res. It looks like something similar should be done here,
but I’m not sure. Thanks, Martxel |
[Prev in Thread] | Current Thread | [Next in Thread] |