httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r595110 - /httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c
Date Wed, 14 Nov 2007 22:48:49 GMT
Author: jerenkrantz
Date: Wed Nov 14 14:48:48 2007
New Revision: 595110

URL: http://svn.apache.org/viewvc?rev=595110&view=rev
Log:
Amsterdam: Make the socket non-blocking.

Modified:
    httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c

Modified: httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c
URL: http://svn.apache.org/viewvc/httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c?rev=595110&r1=595109&r2=595110&view=diff
==============================================================================
--- httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c (original)
+++ httpd/sandbox/amsterdam/d/modules/proxy/mod_serf.c Wed Nov 14 14:48:48 2007
@@ -609,7 +609,6 @@
     if (!ctx) {
         ctx = init_ctx(f, net->client_socket);
         net->in_ctx = (void*)ctx;
-        apr_socket_timeout_set(net->client_socket, 0);
     }
 
     if (new_bb) {
@@ -664,7 +663,7 @@
     core_net_rec *net = apr_palloc(c->pool, sizeof(*net));
     apr_status_t status;
 
-    apr_socket_timeout_set(csd, c->base_server->timeout);
+    apr_socket_timeout_set(csd, 0);
 
     net->c = c;
     net->in_ctx = NULL;



Mime
View raw message