Skip to content
  1. Dec 30, 2005
    • Paul Querna's avatar
      Handle reading fastcgi records with content length larger than AP_IOBUFSIZE. · 3b1a0d4f
      Paul Querna authored
      * modules/proxy/mod_proxy_fcgi.c
        (proxy_fcgi_baton_t): New struct, holds per-connection data.
        (dispatch): Set buckets aside into the scratch pool in the baton,
         clearing it when we pass the baton on.  Deal with the case where
         the content length is larger than AP_IOBUFSIZE.  Consistently use
         sizeof when referring to the length of buffers.  Explicitly null
         terminate the read buffer after reading.  Read the padding bytes
         in a second pass to simplify logic.
        (proxy_fcgi_handler): Create our baton and stash it in the connection's
         data member.
      
      Submitted By: Garrett Rooney <rooneg apache.org>
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@360164 13f79535-47bb-0310-9956-ffa450edef68
      3b1a0d4f
  2. Dec 29, 2005
    • Paul Querna's avatar
      Add support for reading FCGI_STDOUT and FCGI_END_REQUEST records from the · 5c708e2d
      Paul Querna authored
      back end fastcgi process.  This includes switching to a poll based dispatch
      loop that handles interleaved reads and writes.
      
      * modules/proxy/mod_proxy_fcgi.c
        (MAX_INPUT_BYTES): Removed, we now use AP_IOBUFSIZE.
        (handle_headers): New helper function for parsing headers out of the
         response data.
        (send_stdin): Removed, code incorporated into dispatch routine.
        (dispatch): New, poll based dispatch loop that handles both reads and
         writes.
        (fcgi_do_request): Call new dispatch routine.  Return OK if we get
         through without errors.
      
      Submitted By: Garrett Rooney <rooneg apache.org>
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@359901 13f79535-47bb-0310-9956-ffa450edef68
      5c708e2d
  3. Dec 27, 2005
  4. Dec 26, 2005
  5. Dec 23, 2005
  6. Dec 18, 2005
  7. Dec 17, 2005
  8. Dec 16, 2005
  9. Dec 15, 2005
  10. Dec 14, 2005
  11. Dec 12, 2005
  12. Dec 11, 2005
  13. Dec 10, 2005
  14. Dec 09, 2005
  15. Dec 08, 2005
  16. Dec 07, 2005