summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network_io/unix/sockopt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/network_io/unix/sockopt.c b/network_io/unix/sockopt.c
index d89201d0e..2f31bef69 100644
--- a/network_io/unix/sockopt.c
+++ b/network_io/unix/sockopt.c
@@ -144,6 +144,7 @@ apr_status_t apr_socket_timeout_set(apr_socket_t *sock, apr_interval_time_t t)
if (t <= 0) {
sock->options &= ~APR_INCOMPLETE_READ;
}
+ sock->timeout = t;
return APR_SUCCESS;
}