summaryrefslogtreecommitdiff
path: root/network_io/unix/poll.c
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-07-23 17:58:08 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-07-23 17:58:08 +0000
commitb7bc14e133910ac0f792741b3fa662d27223ed0a (patch)
tree9158284122e3b73086af65db7c418f9599bb29bf /network_io/unix/poll.c
parent484df739373e599925021d93575a0be5ec5ed94f (diff)
downloadlibapr-b7bc14e133910ac0f792741b3fa662d27223ed0a.tar.gz
copy over the pipe timeout when creating a socket from
a pipe git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61986 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'network_io/unix/poll.c')
-rw-r--r--network_io/unix/poll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/network_io/unix/poll.c b/network_io/unix/poll.c
index cfc5d44f7..2bc753ddf 100644
--- a/network_io/unix/poll.c
+++ b/network_io/unix/poll.c
@@ -404,6 +404,7 @@ apr_status_t apr_socket_from_file(apr_socket_t **newsock, apr_file_t *file)
(*newsock) = apr_pcalloc(file->cntxt, sizeof(**newsock));
(*newsock)->socketdes = file->filedes;
(*newsock)->cntxt = file->cntxt;
+ (*newsock)->timeout = file->timeout;
return APR_SUCCESS;
}
#endif