You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/06/30 11:10:27 UTC

svn commit: r202508 - /httpd/httpd/trunk/server/mpm_common.c

Author: jorton
Date: Thu Jun 30 02:10:25 2005
New Revision: 202508

URL: http://svn.apache.org/viewcvs?rev=202508&view=rev
Log:
* server/mpm_common.c (dummy_connection): Fix length argument passed
to apr_socket_send.  Remove redundant _shutdown call.

Modified:
    httpd/httpd/trunk/server/mpm_common.c

Modified: httpd/httpd/trunk/server/mpm_common.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/server/mpm_common.c?rev=202508&r1=202507&r2=202508&view=diff
==============================================================================
--- httpd/httpd/trunk/server/mpm_common.c (original)
+++ httpd/httpd/trunk/server/mpm_common.c Thu Jun 30 02:10:25 2005
@@ -550,6 +550,7 @@
     apr_status_t rv;
     apr_socket_t *sock;
     apr_pool_t *p;
+    apr_size_t len;
 
     /* create a temporary pool for the socket.  pconf stays around too long */
     rv = apr_pool_create(&p, pod->p);
@@ -605,8 +606,8 @@
      * listener, and send the correct type of request to trigger any Accept
      * Filters.
      */
-    apr_socket_send(sock, srequest, strlen(srequest));
-    apr_socket_shutdown(sock, APR_SHUTDOWN_WRITE);
+    len = strlen(srequest);
+    apr_socket_send(sock, srequest, &len);
     apr_socket_close(sock);
     apr_pool_destroy(p);