Author: rhuijben Date: Mon Nov 16 10:50:13 2015 New Revision: 1714548 URL: http://svn.apache.org/viewvc?rev=1714548&view=rev Log: Following up on r1714546, resolve issues caused by cleaning up the diff for commit.
* incoming.c (serf__process_listener): Refer to the socket in the right way. Modified: serf/trunk/incoming.c Modified: serf/trunk/incoming.c URL: http://svn.apache.org/viewvc/serf/trunk/incoming.c?rev=1714548&r1=1714547&r2=1714548&view=diff ============================================================================== --- serf/trunk/incoming.c (original) +++ serf/trunk/incoming.c Mon Nov 16 10:50:13 2015 @@ -533,12 +533,11 @@ apr_status_t serf__process_listener(serf } /* Set the socket to be non-blocking */ - if ((status = apr_socket_timeout_set(client->skt, 0)) != APR_SUCCESS) + if ((status = apr_socket_timeout_set(in, 0)) != APR_SUCCESS) return status; /* Disable Nagle's algorithm */ - if ((status = apr_socket_opt_set(client->skt, - APR_TCP_NODELAY, 1)) != APR_SUCCESS) + if ((status = apr_socket_opt_set(in, APR_TCP_NODELAY, 1)) != APR_SUCCESS) return status; status = l->accept_func(l->ctx, l, l->accept_baton, in, p);