1. 13 Apr, 2006 1 commit
  2. 01 Apr, 2006 1 commit
  3. 29 Mar, 2006 1 commit
  4. 07 Mar, 2006 1 commit
  5. 05 Mar, 2006 6 commits
  6. 13 Feb, 2006 1 commit
  7. 09 Feb, 2006 3 commits
  8. 29 Jan, 2006 1 commit
  9. 24 Jan, 2006 1 commit
    • 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
  10. 23 Jan, 2006 3 commits
  11. 11 Jan, 2006 1 commit
  12. 09 Jan, 2006 3 commits
  13. 08 Jan, 2006 1 commit
  14. 07 Jan, 2006 2 commits
    • 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
  15. 06 Jan, 2006 2 commits
  16. 05 Jan, 2006 1 commit
  17. 04 Jan, 2006 3 commits
  18. 03 Jan, 2006 2 commits
  19. 02 Jan, 2006 3 commits
  20. 30 Dec, 2005 2 commits
  21. 29 Dec, 2005 1 commit
    • 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