]> granicus.if.org Git - apache/commit
mark connection for close after the return from
authorJeff Trawick <trawick@apache.org>
Sun, 7 Nov 2010 18:54:44 +0000 (18:54 +0000)
committerJeff Trawick <trawick@apache.org>
Sun, 7 Nov 2010 18:54:44 +0000 (18:54 +0000)
commita1a3d3820c4a98fb4fdad8e6e388b9cc2f7ebb06
tree103780a8b2bbae51ac39f9d187ac41cebdf99ea8
parent025b065a4f1722b6080f265e68313cb03173510d
mark connection for close after the return from
ap_proxy_determine_connection()

before this revision: if there was an existing connection,
ap_proxy_determine_connection() would close it but then clear
the close flag, so it didn't get closed by
ap_proxy_release_connection()

thus, if this child process doesn't use the connection for a
while, the application could be stuck in read() for the same
while

after: ap_proxy_release_connection() will close it after the
request completes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1032345 13f79535-47bb-0310-9956-ffa450edef68
modules/proxy/mod_proxy_fcgi.c