Skip to content
  1. Jan 07, 2006
    • Garrett Rooney's avatar
      Update a log message. · f50f6796
      Garrett Rooney authored
      * modules/proxy/mod_proxy_fcgi.c
        (fcgi_do_request): We're no longer just handling STDIN in this call...
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366927 13f79535-47bb-0310-9956-ffa450edef68
      f50f6796
    • Garrett Rooney's avatar
      Make the handling of FastCGI request headers consistent. Previously, we · 0c10777d
      Garrett Rooney authored
      used a struct to hold the data when writing it, but read it into an array
      when reading it.  This meant that the knowledge of the header layout was
      in two places.  This change moves both sides to using an array, and adds
      a set of #defines for the offsets into the array, so neither side can get
      out of sync.
      
      This also moves the logic for setting up the content length bytes into one
      place, where before we had it in several places.
      
      * modules/proxy/fcgi_protocol.h
        (fcgi_header): Removed.
        (FCGI_HDR_VERSION_OFFSET,
         FCGI_HDR_TYPE_OFFSET,
         FCGI_HDR_REQUEST_ID_B1_OFFSET,
         FCGI_HDR_REQUEST_ID_B0_OFFSET,
         FCGI_HDR_CONTENT_LEN_B1_OFFSET,
         FCGI_HDR_CONTENT_LEN_B0_OFFSET,
         FCGI_HDR_PADDING_LEN_OFFSET,
         FCGI_HDR_RESERVED_OFFSET): New constants.
      
      * modules/proxy/mod_proxy_fcgi.c
        (fill_in_header): Take an array, not a struct pointer, and handle all
         the contents of the header, not just the type and request id.
        (send_begin_request, send_environment, dispatch): Update for new way
         to fill in headers.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@366926 13f79535-47bb-0310-9956-ffa450edef68
      0c10777d
  2. Jan 06, 2006
  3. Jan 05, 2006
  4. Jan 04, 2006
  5. Jan 03, 2006
  6. Jan 02, 2006
  7. Dec 30, 2005
  8. 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
  9. Dec 27, 2005
  10. Dec 26, 2005
  11. Dec 23, 2005
  12. Dec 18, 2005
  13. Dec 17, 2005
  14. Dec 16, 2005
  15. Dec 15, 2005
  16. Dec 14, 2005
  17. Dec 12, 2005