aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/server.c b/server.c
index a8d1f06..b8e4479 100644
--- a/server.c
+++ b/server.c
@@ -1301,7 +1301,6 @@ read_cb(struct tls *ctx, void *buf, size_t buflen, void *cb_arg)
if (!c->proxy_proto) {
/* no buffer to cache into, read into libtls buffer */
- errno = 0;
ssize_t ret = read(c->fd, buf, buflen);
if (ret == -1 && errno == EWOULDBLOCK)
ret = TLS_WANT_POLLIN;