- Feb 09, 2001
-
-
Ryan Bloom authored
the header string. This allows us to clean up the header handling a bit, because we don't need to compute the correct length before we can create the headers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88029 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
These have become simple macros that just wrap the apr_brigade functions, allowing filter writers to ignore the flush function and the ctx pointer. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88028 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 07, 2001
-
-
Ryan Bloom authored
for ap_cleanup_scoreboard, then we have to kill that cleanup with the same function. This also makes ap_cleanup_scoreboard a non-static function, and makes ap_cleanup_shared_mem a static function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88012 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
be compiled outside the src tree. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88011 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
forgot a single line which broke this option. PR: 6881 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88010 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 06, 2001
-
-
Ryan Bloom authored
hack to fix the bug, but it will need to be fixed for real. If we find an error while sending out a custom error response, we back up to the first non-OK request and send the data. Then, when we send the EOS from finalize_request_protocol, we go to the last request, to ensure that we aren't sending an EOS to a request that has already received one. Because the data is sent on a different request than the EOS, the error text never gets sent down the filter stack. This fixes the problem by finding the last request, and sending the data with that request. PR: 7165 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88000 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
to be reported correctly. I have also moved this code into a common location, so that individual MPMs do not need to worry about setting up the start time. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87994 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 05, 2001
-
-
Ryan Bloom authored
This removes a good deal of duplicate logic for creating CGI scripts. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87984 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
and ap_new_connection() were changed last week) I have skipped putting the change into WinNT MPM and mod_proxy. I left a note in the mod_proxy code; for the NT MPM I think I can talk somebody into doing the right thing for me. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87982 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
This is in preparation of the first tag with the new tag and release strategy. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87973 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 02, 2001
-
-
Bill Stoddard authored
the ability to use IPC other than shared memory. Get mod_status working on Windows again. Still to do: Rename some of the function APIs. Replace all calls to reinit_scoreboard with ap_create_scoreboard. Add back in support for scoreboard files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87959 13f79535-47bb-0310-9956-ffa450edef68
-
- Feb 01, 2001
-
-
Ryan Bloom authored
basically a straight port of the 1.3 module to 2.0. The MPMs need to be modified a bit to work with mod_status, but prefork, mpmt_pthread, and dexter have already been changed. I will fix perchild tonight. There is a lot of common code that can be abstracted, and there seems to be a small bug with regard to what mpmt_pthread and dexter report as current connections. ExtendedStatus does work again, although until the bug mentioned above is fixed, it isn't as useful on mpmt_pthread and dexter. Next week, I will look at allowing other modules to add data to the STATUS page and possibly to the scoreboard itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87949 13f79535-47bb-0310-9956-ffa450edef68
-
Tony Finch authored
Submitted by: Kunihiro Tanaka <tanaka@apache.or.jp> PR: 7154 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87942 13f79535-47bb-0310-9956-ffa450edef68
-
Tony Finch authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87939 13f79535-47bb-0310-9956-ffa450edef68
-
Tony Finch authored
find a fully-qualified domain name at startup. PR: 7170 Submitted by: Danek Duvall <dduvall@eng.sun.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87938 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 29, 2001
-
-
Ryan Bloom authored
on my machine, but since this is security related, this should be tested and scrutinized by as many people as possible. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87905 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
*) Adopt apr user/group name features for mod_rewrite. Eliminates some 'extra' stat's for user/group since they should never occur, and now resolves the SCRIPT_USER and SCRIPT_GROUP, including on WinNT NTFS volumes. No-one commented on loosing the 'stat' calls, can anyone invent a scenario where they could be required? Also, I don't like the casts either, so if you have a better solution, don't whine, just fix it :) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87904 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 28, 2001
-
-
William A. Rowe Jr authored
*) Adopt apr features to simplify mod_includes. This changes the behavior of the USER_NAME variable, unknown uid's are now reported as USER_NAME="<unknown>" rather than the old user#000 result. WinNT now resolves USER_NAME on NTFS volumes. [William Rowe] ** Also fixes yet another stat result, allowing APR_INCOMPLETE git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87903 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Moved several CHANGES back to APR where they belonged in the first place, Adopt apr features for simplifing mod_userdir, and accept the new Win32/OS2 exceptions without hiccuping Also note a potentially serious flaw - others please review. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87902 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
Moving a small OS2'ism into APR, it's pw_dir excludes the username. Return the expected result. Also noted the headers/os2errno changes from early this morning. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87901 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
environment variable OPTIM instead. This is needed because configure options do not support multiple flags separated by spaces. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87887 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
"-999999" where that is past the end of the file, we should return a PARTIAL CONTENT status code, and return the whole file as one big byterange. This matches the 1.3 handling now. [Ryan Bloom] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87885 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
bucket length is 0, and a read returns NULL data. If one of these buckets is passed down after the headers are sent, this data will just be ignored. Submitted by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87883 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
signal was received while the process was serving a request. The child process would become the equivalent of a second parent process. If we break out of the accept loop, then we need to do die after cleaning up after ourselves. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87882 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87881 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 27, 2001
-
-
William A. Rowe Jr authored
Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo calls to avoid ownership and permissions on Win32 when they are not required, and until they are implemented. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87873 13f79535-47bb-0310-9956-ffa450edef68
-
Ben Laurie authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87868 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
by sending a brigade where the first bucket is an error_bucket. This bucket is a simple bucket that stores an HTTP error and a string. Currently the string is not used, but it may be needed to output an error log. The http_header_filter will find this bucket, and output the error text, and then return AP_FILTER_ERROR, which informs the server that the error web page has already been sent. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87863 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 26, 2001
-
-
Ryan Bloom authored
bug where we were using the byterange filter to filter an error, which caused us to close the connection before we had sent any data. Currently, we only keep the three most important filters, but we may need to add more in the future. I am mostly thinking of the charset translation filter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87854 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 24, 2001
-
-
Tony Finch authored
are sensitive to the filesystem are rejected, i.e. forward slashes, backward slashes, and sequences of more than one dot. This supports iDNS without compromising the safety of mass vhosting. PR: 6635 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87803 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 23, 2001
-
-
Ryan Bloom authored
and apr_bucket_copy functions. This removes a lot of very messy code, and hopefully makes this filter more stable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87791 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 21, 2001
-
-
Ryan Bloom authored
much sense anymore, since we use the hooks to order modules correctly. This also removes the possability that one module will ever register the same function for the same hook twice. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87784 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
automatically. This bit me multiple times last night as I was trying to setup apache.org. I would make a change to the configuration, run make; make install, and it would fail. The problem was that suexec wasn't getting re-compiled ever, so my changes weren't getting picked up. This solves that problem, by making sure that suexec gets compiled if it was specified on the configure line. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87779 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 20, 2001
-
-
William A. Rowe Jr authored
Sunny in Chicago. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87761 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
mpm_common.c. These functions are only valid on some platforms, so they should not be in the main-line code. These functions are also not portable to non-unix platforms, so they don't really belong in APR. Since they are only used in MPMs, for right now, I am moving them to mpm_common.c git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87755 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
is currently using it. The proper way to do this, is to use the apr_create_process API. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87754 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 19, 2001
-
-
Ryan Bloom authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87743 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
wrong commit incantation git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87740 13f79535-47bb-0310-9956-ffa450edef68
-
Ryan Bloom authored
for a fact that it isn't. Basically, if r->connection->keepalive == 0. This keeps us from making an extra read call when serving a 1.0 request. Submitted by: Ryan Bloom and Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87738 13f79535-47bb-0310-9956-ffa450edef68
-
- Jan 18, 2001
-
-
Tony Finch authored
I broke mod_rewrite by modifying strings in place when expanding them, because variable lookups can cause subrequests which cause mod_rewrite to do its stuff again including an expansion on the same string, which is then syntactically invalid. So copy the lookup keys somewhere else before using them in such a way that may cause recursion. In addition to this, my parser could also be confused by complicated nested rewrite map expansions like ${map1:${map2:key|dflt}|dflt} so fix that too by keeping track of {} when looking for |. PR: 7087 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87723 13f79535-47bb-0310-9956-ffa450edef68
-