Download | Plain Text | No Line Numbers


  1. --- httpd-2.4.12/modules/proxy/proxy_util.c.orig 2015-03-09 15:08:06.237756037 +0100
  2. +++ httpd-2.4.12/modules/proxy/proxy_util.c 2015-03-09 15:08:38.454298418 +0100
  3. @@ -2653,6 +2653,10 @@
  4. }
  5. conn->connection = NULL;
  6.  
  7. + /* Set a timeout for connecting to the backend on the socket */
  8. + if (worker->s->conn_timeout_set) {
  9. + apr_socket_timeout_set(newsock, worker->s->conn_timeout);
  10. + }
  11. rv = ap_proxy_connect_uds(newsock, conn->uds_path, conn->scpool);
  12. if (rv != APR_SUCCESS) {
  13. apr_socket_close(newsock);
  14.