- Jul 18, 2005
-
-
William A. Rowe Jr authored
Yet another snafu in body handling. We need to clearly avoid any ap_get_brigade or request body processing in every *subrequest* proxy action. The new code introduced more chaos because we read the request body irrespective of any bogus header handling bugs. This requires a goto, and yes, that sucks :) But this is one of those oddball cases where jumping away makes more sense than tons of indented code, IMHO. And if you count the number of goto's I've committed to httpd, you know I avoid them like the plague. I woulda' suggestd to jorton to take a flying carnal act, except that each time he points me back to the 2.0 patch, I catch another entirely bogus choice within the old/new httpd-2.x request body code :) I've bumped the 2.0 patch to correspond; see http://people.apache.org/~wrowe/httpd-2.0-proxy-request-4.patch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219533 13f79535-47bb-0310-9956-ffa450edef68
-
Paul Querna authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219521 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219503 13f79535-47bb-0310-9956-ffa450edef68
-
Hiroaki Kawai authored
Submitted by: Daniel Lopez <daniel@rawbyte.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219484 13f79535-47bb-0310-9956-ffa450edef68
-
Ian Holsman authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219435 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix broken while () {} loops (lingering code from the old logic), closes an infinite loop in the most recent version. Init the cl_val to prevent failure of zero length bodies in the most recent version. Use 'request body' instead of 'data' to describe any errors. Finally, loop around ap_get_brigade to grab multiple chunks that still fall below our MAX_MEM_SPOOL threshold, since the chunk decoding from the client will pass up just one small chunk per ap_get_brigade call. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219430 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219429 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 17, 2005
-
-
Andre Malo authored
Translated by: Nikola Smolenski <smolensk eunet.yu> Reviewed by: Danilo Šegan <danilo gnome.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219383 13f79535-47bb-0310-9956-ffa450edef68
-
Ian Holsman authored
just before the final return. This gives modules an opportunity to do something based on the proxy status. A couple of examples where this is useful: -You are using a caching module and would rather return stale content rather than an error to the client if the origin is down. -you proxy some subrequests (using SSI - mod_include) and do not want SSI errors when the backend is down. If you would normally return HTTP_BAD_GATEWAY, you may have a module that serves some other content. new hook -- so mmn bump.. i made it a major one, hope thats ok Patch From Brian Akins <Brian.Akins turner.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219372 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 16, 2005
-
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219318 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 15, 2005
-
-
William A. Rowe Jr authored
Backported a few already git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219231 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
On Roy's suggestion; why wait to try to clear out the input stream if it is smaller than MAX_MEM_SPOOL? Do this upfront before dispatching to a body handler. This means changing each of the three body pumps to presume a preexisting input_brigade was already loaded, so turn around their loop conditions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219224 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix a style problem; b is ambigous (is it a brigade or bucket?) bb is far less ambigous. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219223 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
leaving force-proxy-request-1.0 for broken clients, revert my patch for forcing an HTTP/1.0 proxy request, if the client request is HTTP/1.0, per Roy. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219221 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 14, 2005
-
-
William A. Rowe Jr authored
Missed an edge case; once we know the C-L didn't match, it's time to shut down the body already. Finish reading from the client but do nothing else, returning an error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@219057 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
How can I fix thee? let me count the ways... * pass a chunked body always (no-body requests don't go chunked). * validate that the C-L counted body length doesn't change. * follow RFC 2616 for C-L / T-E in the request body C-L / T-E election logic. * do not forward HTTP/1.0 requests as HTTP/1.1, unless the admin configures force-proxy-request-1.1 * conn was illegible, use 2.0's p_conn. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@218978 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 13, 2005
-
-
William A. Rowe Jr authored
Fix two fat-fingered typos from commit 216156. Code matches previous behavior now; time to start fixing. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@216159 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
send_request_body and indentation made it very difficult to follow all the mistakes in this code. Fold send_request_body into reindent to make the pattern clear and skip some extra string handling. Little functional change, that comes next. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@216156 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
End abuse of apr_strnat[case]cmp - it isn't str[case]cmp. Unsure if apr_strnatcasecmp(conf_ip, uri_ip) was intentional, on the off chance that the left or right hand ip string happens to contain leading zeros. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@216111 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 09, 2005
-
-
Jason S. Lingohr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209937 13f79535-47bb-0310-9956-ffa450edef68
-
Jason S. Lingohr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209936 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 08, 2005
-
-
William A. Rowe Jr authored
Added TraceEnable, and note Request Splitting/Response Splitting. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209903 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
The cookie is AP22 by unanimous consent. This is because 2.1.x dies the day 2.2.0 is branched. There will be no updates to 2.1 as we continue to maintain 2.2. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209876 13f79535-47bb-0310-9956-ffa450edef68
-
Joe Orton authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209854 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix a ton of wrong/silly indention, and clarify the fix-notes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209836 13f79535-47bb-0310-9956-ffa450edef68
-
Paul Querna authored
Fix the CHANGES to reflect when things were really fixed. Also remove the security tag from the proxy change, as suggested by Joe. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209832 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209827 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
No UCHAR, per Joe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209823 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
So don't bother to store it, but still force OpenSSL to provide a Session ID. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209821 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209811 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Joe strongly objected to this outgoing style; use this incoming style for const modifiers so the reader can still follow that the data is [const] unsigned char * git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209795 13f79535-47bb-0310-9956-ffa450edef68
-
Paul Querna authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209723 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 07, 2005
-
-
William A. Rowe Jr authored
The macro is simply not worth it; each of these various occurances differ as openssl has modified pointer constness from bump to bump. This needs testing on Netware, it builds clean on 0.9.6m, 0.9.7d, 0.9.7g, and 0.9.8-final on Win32. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209675 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Add notation of Georg's patch to capture SSL_COMPRESS_METHOD. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209656 13f79535-47bb-0310-9956-ffa450edef68
-
Bradley Nicholes authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209611 13f79535-47bb-0310-9956-ffa450edef68
-
- Jul 06, 2005
-
-
Paul Querna authored
Add the httxt2dbm utility to create DBM files for RewriteMap. This replaces the txt2dbm script in the manual, and allows the use of any available DBM format. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209539 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Wrap this type in a macro since it seems to be bouncing from 0.9.7g to 0.9.7h in const'ness. PR: 34520 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209530 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Add SSL_COMPRESS_METHOD variable (included in +StdEnvVars) to note the negotiated compression. Reviewed by: wrowe, Maxime Petazzoni Submitted by: Georg v. Zezschwitz <gvz 2scale.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209469 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Dev Studio automatically adds the intermediate and final directory paths to each custom build target. However, the time stamps of these directories will trigger a rebuild in bison where sources haven't changed. These targets are not necessary, as these generated files reside in the current directory (which, obviously, already exists.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209466 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Accomodate API changes to OpenSSL 0.9.8 (now in beta). Submitted by: Georg v. Zezschwitz <gvz@2scale.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@209465 13f79535-47bb-0310-9956-ffa450edef68
-