- Aug 31, 2001
-
-
Cliff Woolley authored
---------------------------------------------------- if the base paths are the same if (strncmp(rnew->filename, fdir, fdirlen) == 0 and there's more stuff in the new filename than just the base path && rnew->filename[fdirlen] and that stuff contains no slashes && ap_strchr_c(rnew->filename + fdirlen, '/') == NULL) ---------------------------------------------------- Assuming that's a correct translation, which I believe to be the case (and which also seems to jive with the previous version of the test), then that first part darned well better check == 0, as opposed to != 0. strncmp returns 0 when they match. =-) And voila, "All tests successful, 1 test skipped." is the result from httpd-test git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90842 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
last tag, rather than UP to 2.0.26-dev. =-) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90839 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Now that stinks, sorry. In moving code - I didn't notice my code now served out (r) info instead of the (rnew) info. Made for nasty cyclic loops in mod_dir :( It looks like this works once again. I'll post completed deltas to the list ASAP. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90838 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Much better - sorry - I missed one case of forcing pipeline flush when the handler returned a non-OK result. ergo, 304's weren't sent. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90837 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Invoking the handler must occur at the caller's discression, in order for the sub_req mechanism to share this code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90836 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
After calling ap_process_request_internal(), the caller must invoke the handler themselves. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90835 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Move the ap_run_insert_filters to consistently occur in ap_process_request_internal. This allows the sub_req handler to alter the filters before the subreq is actually run. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90834 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Normalize all paths to run the same, common code for pre-request setup from the primary request, redirects and sub-requests. This will significantly reduce opporunities for inconsistancy (such as Ian observed, and as I repaired only a month ago.) This promotes process_request_internal to an ap_ namespace protected entity in server/request.c (from it's old home in http/http_request.c) since this fn has no http specifics. Reviewed (in concept): Cliff Woolley, Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90833 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Normalize all paths to run the same, common code for pre-request setup from the primary request, redirects and sub-requests. This will significantly reduce opporunities for inconsistancy (such as Ian observed, and as I repaired only a month ago.) This promotes process_request_internal to an ap_ namespace protected entity in server/request.c (from it's old home in http/http_request.c) since this fn has no http specifics. Reviewed (in concept): Cliff Woolley, Ian Holsman git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90832 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 30, 2001
-
-
William A. Rowe Jr authored
The add-in/strip-off temporary trailing slash logic was really hosed in the new (not yet enabled) code path. Now it's slightly hosed. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90829 13f79535-47bb-0310-9956-ffa450edef68
-
Doug MacEachern authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90828 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
(which is the case with mod_proxy). My only question about this is whether we should place some value (such as <UNKNOWN>) when path_info isn't set. Submitted by: Ian Holsman <ianh@cnet.com> Reviewed by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90825 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
- Updates upgrading.html - Reverts Aaron's earlier docco patch (sorry...) - Adds -X to all mpms in the tree git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90824 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix the new code (not currently enabled) for directory_walk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90823 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
mod_charset_lite checks to see if its filter will be added by another module. Now, we run our insert-filter hook really last and look at the actual filter chain. (Note that http runs even later but it doesn't currently do anything which would interfere.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90822 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Undo another int type'ed port (and format a little structure for legibility). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90820 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix a broken declaration (supress type conversion warning on win32). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90819 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
to print the apr_status_t in numeric form the old message lt-httpd: could not open(create) scoreboard: Unknown resolver error wasn't so useful, but the new, improved message lt-httpd: could not open(create) scoreboard: (22528)Unknown resolver error makes it look like a syscall is returning ENOSPC and that apr shmem is returning (APR_OS_START_SYSERR + errno) instead of simply errno. off to APR land... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90814 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Same as Jeff Trawick's patch [thank you!] only a tad faster, and error out on the old Set{Input|Output}Filter onefilter twofilter syntax (prior to this patch, only the last filter in a space seperated list would be configured.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90813 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
we seem to be reading/seeking .var files fine on Unix even with buffering turned on. wrowe reports that they're working on Win32 also. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90812 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
different format, mod_charset_lite needs different logic to walk through it git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90811 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
tiny apr_pstrdup() calls and your machine crashes) when you have a filter chain ap_getword() returns an empty string, not a NULL string, when there are no more words fix a segfault when you don't have a filter chain ap_getword() does not check for a NULL string to search git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90810 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Thank you again for the proxy autobuild reports ;) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90809 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90808 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
* configure.in: added Cygwin specific APR_SETVARs. * os/config.m4: added Cygwin specific values for $OS and $OS_DIR. $OS_DIR will change to "cygwin" as soon as I get the DSO/DLL things clean as with 1.3.20. * support/logresolve.c: added OS specific #ifdef statement to define h_errno as extern __declspec(dllimport); it's imported from the cygwin1.dll itself. Submitted by: Stipe Tolj <tolj@wapme-systems.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90805 13f79535-47bb-0310-9956-ffa450edef68
-
Doug MacEachern authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90802 13f79535-47bb-0310-9956-ffa450edef68
-
Doug MacEachern authored
it possible to wipe out the entire filter chain. and then when ap_finalize_request_protocol was called, r->output_filters was NULL, preventing data from being flushed to the client. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90801 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
No <sys/ipc.h> under cygwin. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90800 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Changed syntax of Set{Input|Output}Filter. The list of filters must be semicolon delimited (if more than one filter is given.) The Set{Input|Output}Filter directive now overrides a parent container's directive (e.g. SetInputFilter in <Directory /web/foo> will override any SetInputFilter directive in <Directory /web>.) This new syntax is more consistent with Add{Input|Output}Filter directives defined in mod_mime. Also cures a bug in prior releases where the Set{Input|Output}Filter directive would corrupt the global configuration if the multiple directives were nested. [William Rowe] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90799 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Since the mod_mime patch was applied, here is the rest of the patch to introduce the ForceType and SetHandler [absolute references] directly into the very top of the fixups phase. This means these will always override _any_ mime module, not just mod_mime. Ergo, other mime modules can continue to set charset, encodings, etc. Since these are globals, they belong in the core. This highlights a very serious drawback to the type_checker hook. By using run first, a module that identifies _partial_ information (maybe just the content type) won't pass the query on to other modules, like mod_mime, that might further define the encoding or charset. The type_checker hook should clearly become a run-all, and the modules should decline if they see someone ahead of them answered a question they were going to try to figure. Which means - if type_checker becomes RUN_ALL - this new override hook fn should become a type_checker again - and RUN_REALLY_FIRST, and let other modules _choose_ not to override this election. (We can run it again at the end, for a recount ;) Votes? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90797 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Fix mod_mime skipping over mime.types when some _other_ field was set with mod_mime, but not AddType. Why is everybody always breaking my local CHANGES file ;-? git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90796 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90795 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
making a new filter type, AP_FTYPE_CACHE. We need to run CACHE_IN immediately after the handlers are done and before we run the content through any filters. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90794 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
Keep track of the number of body bytes written to the cache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90793 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
1. Change CACHE_TYPE_MALLOC to CACHE_TYPE_HEAP 2. Enable cacheing content contained in multiple brigades 3. Don't cache an entry more than once. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90792 13f79535-47bb-0310-9956-ffa450edef68
-
Cliff Woolley authored
-X doesn't exist anymore. Submitted by: Aaron Bannert git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90790 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
code. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90789 13f79535-47bb-0310-9956-ffa450edef68
-
- Aug 29, 2001
-
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90788 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90785 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
files only. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90783 13f79535-47bb-0310-9956-ffa450edef68
-