summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2020-02-05 13:12:31 +0000
committerTiago Natel de Moura <t.nateldemoura@f5.com>2020-02-05 13:12:31 +0000
commit29d8b34244e24095f23f5e483f8452035fbb77aa (patch)
tree3ad222f9ceab4847dea3789cdd84131f04f931a7
parent81b39d0b35d78daabf479ccd492ae8323039b7cb (diff)
downloadunit-29d8b34244e24095f23f5e483f8452035fbb77aa.tar.gz
unit-29d8b34244e24095f23f5e483f8452035fbb77aa.tar.bz2
Kept the value of c->socket.read_handler while data is available.
This closes #370 in GitHub.
-rw-r--r--src/nxt_openssl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nxt_openssl.c b/src/nxt_openssl.c
index 53ed0381..832d1f0d 100644
--- a/src/nxt_openssl.c
+++ b/src/nxt_openssl.c
@@ -633,10 +633,6 @@ nxt_openssl_conn_io_recvbuf(nxt_conn_t *c, nxt_buf_t *b)
c->socket.fd, b->mem.free, size, ret, err);
if (ret > 0) {
- if ((size_t) ret < size) {
- c->socket.read_ready = 0;
- }
-
return ret;
}