serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1711241 - /serf/trunk/test/MockHTTPinC/MockHTTP_server.c
Date Thu, 29 Oct 2015 12:56:15 GMT
Author: rhuijben
Date: Thu Oct 29 12:56:14 2015
New Revision: 1711241

URL: http://svn.apache.org/viewvc?rev=1711241&view=rev
Log:
* test/MockHTTPinC/MockHTTP_server.c
  (connectToServer): Remove APR_SO_REUSEADDR. We don't use an explicit
    connect-from address, that may have required this.

Modified:
    serf/trunk/test/MockHTTPinC/MockHTTP_server.c

Modified: serf/trunk/test/MockHTTPinC/MockHTTP_server.c
URL: http://svn.apache.org/viewvc/serf/trunk/test/MockHTTPinC/MockHTTP_server.c?rev=1711241&r1=1711240&r2=1711241&view=diff
==============================================================================
--- serf/trunk/test/MockHTTPinC/MockHTTP_server.c (original)
+++ serf/trunk/test/MockHTTPinC/MockHTTP_server.c Thu Oct 29 12:56:14 2015
@@ -275,7 +275,6 @@ static apr_status_t connectToServer(mhSe
                                 SOCK_STREAM, 0, cctx->pool));
     STATUSERR(apr_socket_opt_set(cctx->proxyskt, APR_SO_NONBLOCK, 1));
     STATUSERR(apr_socket_timeout_set(cctx->proxyskt, 0));
-    STATUSERR(apr_socket_opt_set(cctx->proxyskt, APR_SO_REUSEADDR, 1));
 
     status = apr_socket_connect(cctx->proxyskt, address);
     if (status == APR_SUCCESS || APR_STATUS_IS_EINPROGRESS(status)) {



Mime
View raw message