- Sep 29, 2001
-
-
Justin Erenkrantz authored
rearranging and rethinking some things. The net result is that the HTTP filter is now a request filter and is now only responsible for HTTP things. The core input filter is now responsible for handling all of the dirty work. Highlights: - Removes the dechunk filter and merges it with ap_http_filter (aka HTTP_IN). The dechunk filter was incorrectly handling certain cases (trailers). - Moves ap_http_filter from a connection filter to a request filter to support the consolidation above (it needs header info). - Change support code to allow the http_filter to be a request filter (how the request is setup initially). - Move most of the logic from HTTP_IN to CORE_IN (core_input_filter). HTTP_IN is now only concerned about HTTP things. The core filter is now responsible for returning data. It is impossible to consolidate dechunk and http without this because HTTP_IN previously buffered data. As Greg has suggested, it may make sense to write some brigade functions that handle input (getline). It should be fairly trivial to add these. Some of the calls in ap_http_filter could be switched as well. This is the original patch as submitted to dev@httpd on Monday, Sep. 24th. Additional comments and some minor tweaks done after that submission are coming up next. This should allow people who reviewed the original patch to see what has changed and review them piecemeal. This test passes all current tests in httpd-test. Please perform chicken sacrifices to verify that this hasn't blown up your favorite input. Reviewed by: Greg Stein, Ryan Bloom, and Cliff Woolley (buckets) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91189 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
If we are *already* a faux URI (i.e. relative file sub req) and we then make a subrequest from that faux URI to a file in the same directory, we'd try to build a URI out of the fake URI which leads to the wrong thing happening somewhere down the line. So, let's just give this special case a fake URI as well. OtherBill needs to verify this. He can back it out if he wants. I don't much care. It's one line and it seems okay... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91187 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 28, 2001
-
-
William A. Rowe Jr authored
Optimize file_walk with the same logic as location_walk. Fix both to have a bit more legibility, and tighter locality of scope for a smaller number of variables. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91186 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Split out (soon to be) common code for all _walk functions (no net change to location_walk). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91185 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Nice to remove more than I add, some days. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91184 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
We don't mind the .mak files hanging around, don't tell us about it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91183 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
/home/cvs/httpd-2.0/ no longer tracks makefiles. But at least incorporate all the new proxy modules into BaseAddr.ref for win32. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91182 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
This broken bit causes a segfault after locking pconf as read-only. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91181 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
MAJOR charset encoding fixes. The file names and HTTP-Equiv tags are now in sync with the httpd-std.conf - and the ucs2/4 encodings are gone since utf8 is a universally recognized shorthand that sits much better in our tree [notice; these were _duplicate_ character sets, only in different byte encodings!] Same with removing the duplicate .jis and .is-kr files. [I simply choose the one 'with link' over the one without, and fixed the links back to preFAQ as I picked.] Russian users, how many of the remaining five encodings are truly needed? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91180 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Reintegrate proxy into the core build git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91179 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Debug conf pool constness. This is a noop most of the time on most platforms, but it's only called twice per restart, so this is mostly harmless. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91178 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
used anyplace anymore. Submitted by: "Sander Striker" <striker@apache.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91176 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91173 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91172 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91171 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Overhaul the compatibility with 1.3's subrequest and redirect processing. Eliminate URI-centric phases in ap_process_request_internal() for pure file subrequests (that don't correspond to URI space.) translate_name hook and location_walks are skipped for these requests. Moves the reset of the per_dir_config out of directory_walk into the internal request processing code, so that resources with alternate map_to_storage requirements start with clean r->server->lookup_defaults. Optimizes out the authn/authz of effectively identical subreqests and redirects, as the sub_req_lookup calls once did. Unlike 1.3, we copy r->user and r->ap_auth_type from main/prev for the request's reference. Stop copying the subrequest's r->chunked flag (Rbb assured me it looked bogus, chunking is on the parent request) and clean out other #if 0'ed cruft we don't need to refer back to anymore. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91169 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Remove the translate_name hack that caused Greg Ames some grief with mod_rewrite. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91168 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
of libapr. This allows the smaller support programs to be relocated. Submitted by: Aaron Bannert <aaron@clove.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91167 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 27, 2001
-
-
Victor J. Orlikowski authored
Docs update to follow. Submitted by: Ian Holsman <ianh@cnet.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91165 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91163 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
still work in a pool bucket, but only by coincidence. At the very least, a pool bucket is way more overhead than this poor unsuspecting little CRLF needs to get by. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91160 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 26, 2001
-
-
Ian Holsman authored
fix the command so that it returns 'OK' instead of 'HTTP_OK' PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91155 13f79535-47bb-0310-9956-ffa450edef68
-
Mark J. Cox authored
of 2001-09-25, and add mapping for xsl extension PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91145 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 25, 2001
-
-
Ryan Bloom authored
build directory, not the source directory. When we go to use it, we have to look in the build dir for it. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91142 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91140 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 24, 2001
-
-
Ryan Bloom authored
with no threads. That doesn't make any sense anyway. Also, raise HARD_SERVER_LIMIT to 16, from 8. Submitted by: "Ian Holsman" <ianh@cnet.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91137 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Another recent Win32 PSDK addition that we can cover for VC5 users. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91136 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Solve a symbol from later PlatformSDK's that a VC5 user may or may not have installed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91134 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
PATHEXT is a critial Win32 cmd.exe variable that declares _which_ extensions are given command-name status (such as .exe;.bat;.com;.cmd etc.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91132 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Joy, joy. Relax the rules, just a wee bit, and prepare to move the fatal ending to this filename-less request a bit later in the request cycle, to give older, ported modules more time to cope without implementing the map_to_storage hook. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91131 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
for the Worker MPM Submitted by: Aaron Bannert <aaron@clove.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91123 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
number of clients that can connect at the same time, instead of specifying the maximum number of child processes. Submitted by: Aaron Bannert <aaron@clove.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91122 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Updated links. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91119 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 23, 2001
-
-
Justin Erenkrantz authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91118 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 22, 2001
-
-
Cliff Woolley authored
the buckets can't use it. I'll implement a free-list scheme private to the buckets next. in the meanwhile we're back to using malloc/free directly instead of via the std sms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91117 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91116 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
in here have not been screwed up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91115 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91114 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91113 13f79535-47bb-0310-9956-ffa450edef68
-
Richard Bowen authored
in particular, the non-english files, to make sure I did not screw anything up. They look fine to me. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91112 13f79535-47bb-0310-9956-ffa450edef68
-