You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/07/29 16:54:18 UTC

DO NOT REPLY [Bug 49671] New: mod_proxy_fcgi handles client disconnects poorly

https://issues.apache.org/bugzilla/show_bug.cgi?id=49671

           Summary: mod_proxy_fcgi handles client disconnects poorly
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tom@compton.nu


If mod_proxy_fcgi is handling a request it encounters an error sending data to
the client (most commonly because the client has disconnected) then it will
often stop processing data in the middle of an FCGI record and return from
dispatch() without having read the entire record from the FCGI server.

When dispatch() is next entered it tries to read a new record, but gets bogus
data from the middle of the previous record and logs an error along these
likes:

[Thu Jul 29 15:48:29 2010] [error] proxy: FCGI: Got bogus version 66
[Thu Jul 29 15:48:29 2010] [error] (22)Invalid argument: proxy: FCGI: Error
dispatching request to :

That proxy is then blocked for 60s unless retry=0 has been specified, which can
lead to delays in servicing of other requests.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 49671] mod_proxy_fcgi handles client disconnects poorly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49671

Justin <ju...@networkinstruments.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Other Modules               |mod_proxy_fcgi

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 49671] mod_proxy_fcgi handles client disconnects poorly

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49671

Jeff Trawick <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Jeff Trawick <tr...@apache.org> ---
This was fixed some time ago by mod_proxy_fcgi being changed to use a backend
connection only once.

In the event that an option is added to allow backend connections to be reused,
they'll have to be marked for closure after any error to avoid issues like that
reported in this bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org