Skip to content
  1. Feb 13, 2006
  2. Feb 09, 2006
  3. Jan 29, 2006
  4. Jan 24, 2006
    • Garrett Rooney's avatar
      Clean up the end-of-headers detection code a bit. I'm still getting some · 6c81db01
      Garrett Rooney authored
      strange problems with really large numbers of headers, but I'm starting to
      suspect that it's a problem with my FastCGI lib, not this module, and this
      at least makes things shorter and a bit easier to read, along with fixing
      one bug.
      
      * modules/proxy/mod_proxy_fcgi.c
        (handle_headers): Get rid of some cases that were not strictly needed.
         Insert a case that was missed that screwed things up when there were
         more than one header.
        (dispatch): Move the 'done with headers' code into the preceding block,
         add a note about a case that needs to be investigated.
      
      
      git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@371840 13f79535-47bb-0310-9956-ffa450edef68
      6c81db01
  5. Jan 23, 2006
  6. Jan 11, 2006
  7. Jan 09, 2006
  8. Jan 08, 2006
  9. 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
  10. Jan 06, 2006
  11. Jan 05, 2006
  12. Jan 04, 2006
  13. Jan 03, 2006
  14. Jan 02, 2006
  15. Dec 30, 2005
  16. 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
  17. Dec 27, 2005
  18. Dec 26, 2005
  19. Dec 23, 2005
  20. Dec 18, 2005
  21. Dec 17, 2005
  22. Dec 16, 2005