- Jan 04, 2006
-
-
Garrett Rooney authored
people have seen where rid != request_id. * modules/proxy/mod_proxy_fcgi.c (dispatch): Stop initializing things we're just going to assign over them later, initialize all of the rid and clen variables, and fix a warning from passing an unsigned char array into apr_socket_recv by adding a cast to char *. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365813 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 03, 2006
-
-
Jim Jagielski authored
struct, and assuming that it's following the correct format, we should be extra careful when rec'ing the header info, and ensure that each byte is followed one after another. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365698 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365643 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 02, 2006
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365432 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
other FCGI modules (like mod_fcgid) don't bother to test the return request_id... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365387 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
be explicit about it. Also removes the need to clean up the readbuf again, and any potential for confusion on what we are doing ;) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@365376 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 30, 2005
-
-
Paul Querna authored
When we get some kind of write failure or protocol problem, close the current socket, since we don't know if we are left in a working state. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@360174 13f79535-47bb-0310-9956-ffa450edef68
-
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
-
- Dec 29, 2005
-
-
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
-
- Dec 27, 2005
-
-
Paul Querna authored
process. * modules/proxy/mod_proxy_fcgi.c (fill_in_header): New helper function. (send_begin_request, send_environment): Fix formatting, use fill_in_header. (MAX_INPUT_BYTES): New constant. (send_stdin): New function. (fcgi_do_request): Send the body of the request via send_stdin. Submitted By: Garrett Rooney <rooneg apache.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@359183 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 26, 2005
-
-
Paul Querna authored
to mod_proxy_fcgi. * modules/proxy/mod_proxy_fcgi.c (proxy_fcgi_canon): Remove unused variables, wrap a long line. (send_begin_request): Helper function to send the FCGI_BEGIN_REQUEST message. (send_environment): Helper function to send the environment. (fcgi_do_request): Use send_begin_request and send_environment. Submitted By: Garrett Rooney <rooneg apache.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@359043 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 23, 2005
-
-
Paul Querna authored
- Add basic structures, defined in the FastCGI Spec. - Write a request to the server. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@358719 13f79535-47bb-0310-9956-ffa450edef68
-
Paul Querna authored
ProxyPass / fcgi-tcp://localhost:9000/, and we will try to connect with TCP. I still need to write supporting code to send/recv the FastCGI protocol packets. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@358690 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 18, 2005
-
-
Paul Querna authored
Create a templte for a FastCGI proxy backend. It does not actually do much yet, but is the base for more development. I hope to work on this more tomorrow. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@357444 13f79535-47bb-0310-9956-ffa450edef68
-
Paul Querna authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/fcgi-proxy-dev@357431 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 17, 2005
-
-
Ruediger Pluem authored
flush bucket is pre- and postfixed by data buckets in the brigade. Submitted by: Ruediger Pluem Reviewed by: Justin Erenkrantz, Joe Orton, Jim Jagielski git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357328 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 16, 2005
-
-
William A. Rowe Jr authored
Add the module details for our /base:@...,mod_foo.so magic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357234 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
A more generic explanation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357231 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Test _NMAKE_VER define to determine nmake -nologo behavior, and use $(MAKEOPT) -f syntax throughout to avoid problems on mingw, borland, etc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357226 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
New Win32 9x efforts are a nonstarter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357223 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Not Applicable anymore git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357222 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
pointer not 0. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357170 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
--enable-modules to build an httpd with no optional modules enabled. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357168 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
* modules/mappers/mod_imagemap.c (imap_url): Escape the referer. * server/util.c (ap_escape_html): Escape the " character. Submitted by: mjc Reviewed by: fielding, jorton git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357161 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
the brigade if the pass delimiter is reached and not for any flush delimiter; allows creating brigades with a flush bucket in the middle. Fail if ap_pass_brigade() fails. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357156 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 15, 2005
-
-
Jean-Frederic Clere authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357044 13f79535-47bb-0310-9956-ffa450edef68
-
Jean-Frederic Clere authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357022 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 14, 2005
-
-
William A. Rowe Jr authored
Mirror Makefile.win from the GUI environment. The path here must be explicit to help point the debugger at the resulting, installed binaries. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356853 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Revert 1/2 of my last commit, keep Apache2 as the default name so we don't need to keep syncing this with releases. Retain the other 1/2 - a better message since apr's must be in the build tree srclib/ not the install target srclib/. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356852 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Keep default INSTDIR out of a 2.0, 2.2 tree when working in svn trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356844 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356801 13f79535-47bb-0310-9956-ffa450edef68
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356799 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 12, 2005
-
-
Joe Orton authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356248 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
(but not G++) or any compiler which claims C99 support. * configure.in: Don't define AP_HAVE_DESIGNATED_INITIALIZER here. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356234 13f79535-47bb-0310-9956-ffa450edef68
-
- Dec 11, 2005
-
-
Jim Jagielski authored
clean this section up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356030 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@356012 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355990 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355853 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
sent the headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355837 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
into the proxy handler of mod_proxy. This patch still sets r->connection->aborted to 1 which is currently vetoed by Roy. Moving it from the scheme handler to the proxy handler should ease the reimplementation of this, as the scheme handlers only needs to return PROXY_BACKEND_BROKEN to signal the above situation to the proxy handler. mod_proxy.h: Add define for PROXY_BACKEND_BROKEN mod_proxy.c: Handle PROXY_BACKEND_BROKEN in proxy handler mod_proxy_http.c: Sent back PROXY_BACKEND_BROKEN if backend broke after we sent the headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@355823 13f79535-47bb-0310-9956-ffa450edef68
-