- 17 Nov, 1996 3 commits
-
-
brian authored
with mod_rewrite. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76982 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
and httpd -h output. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76981 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76980 13f79535-47bb-0310-9956-ffa450edef68
-
- 14 Nov, 1996 3 commits
-
-
brian authored
Here's a patch that provides a number of fixes to chunked transfer-coded input when using get_client_block: 1) Correctly works with 1-byte reads (like content-lengthed reads, which was fixed a week or so ago, this was not working.) 2) Fix "footer" reading. It now just calls get_mime_headers(), which should work. This way, they're accessible to the server, as they should be, though (unfortunately?) mod_cgi calls get_client_block too late to pass it on to the CGI script. Unless anyone knows a way to modify the environment of a child after you've forked it. It also adds a few comments (there was one part it took me five minutes to remember what the heck it was doing... and I wrote it. So I figured I'd better throw in a comment). Anyhow, I think it's important to make this work right, since it's an integral part of HTTP/1.1 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76979 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Submitted by: Paul Eggert <eggert@twinsun.com> Fixes time zone problems. Old behavior: * When the time zone is not an integral multiple of 1 hour, the logs report bogus UTC offsets. E.g. if the time zone is +0530 the reported UTC offset is +051800. * If !defined(HAS_GMTOFF) && !defined(NO_TIMEZONE), when the daylight-saving offset is not exactly 1 hour, the logs compute the UTC offset incorrectly when daylight saving is in effect. * If !defined(HAS_GMTOFF) && defined(NO_TIMEZONE), the code invokes mktime twice, once on the output of localtime and once on the output of gmtime, and subtracts the results. This method is incorrect when the time is near a daylight-saving shift boundary. For example, suppose we are in US Pacific time and the current time is 1996-10-27 00:00:00 local time, just before a daylight saving time shift. The correct UTC offset is -0700, but in this case get_gmtoff incorrectly computes an offset of -0800, because mktime(gmtime(...)) applies mktime to `1996-10-27 07:00:00' (actually a UTC time, not a local time) and the UTC offset as of 1996-10-27 07:00:00 local time is -0800. Here is a patch. The key idea of the patch, which you'll find at the end, is an idea stolen from INN 1.5b1: assume that we are no more than 24 hours away from UTC, which is a reasonable assumption (among other things, Posix requires support only for -2400 through +2400 time zones) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76978 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Submitted by: Brian Behlendorf Slight tweak to compress scoreboard bars from 6 to 4. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76977 13f79535-47bb-0310-9956-ffa450edef68
-
- 12 Nov, 1996 4 commits
-
-
Roy T. Fielding authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76976 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
I think I need a vacation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76975 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
with the value being the client's TCP port. This allows CGI scripts to independently check the client's Ident (RFC 1413) without needing IdentityCheck "On" for the whole server. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76974 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
All functions now get the name from the module structure and either search the preloaded_modules list (for static info) or the actual linked list of modules (for active modules). Docs note: The "httpd -h" and "httpd -l" options print info about all compiled modules, not just the active (prelinked) ones. mod_info only prints the prelinked module information [I would have changed that, but the code in mod_info uses an, ummmm, unusual style]. The <IfModule> and AddModule directives' use the file name of the module (what you now see with "httpd -l") as the argument. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76973 13f79535-47bb-0310-9956-ffa450edef68
-
- 10 Nov, 1996 2 commits
-
-
Ben Laurie authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76972 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
is a single space: the entire header field above it was ignored and the message terminated. This would normally only occur when cut-n-pasting from an xterm, but it revealed a bunch of other problems with the way we were looking for the request-line and header fields. I fixed it by rewriting the routines so that they would be more natural and not discard the error conditions, and introduced a new routine to buff.* for looking at the top of the input stream without changing it. The good news is that we now handle input lines robustly and do not puke when an extra CRLF is placed at the end of a POST request. The bad news is that I have found several places where we should be responding with 400 or 414 (Request-URI Too Long) messages when our input buffer fills-up, but we have no apparent mechanism for die'ing inside http_protocol.c. For now I am just letting the input be truncated, which is good enough for robust handling, but I would prefer to send an error response so that the webmaster can know about the invalid buffer-blowing attempts. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76971 13f79535-47bb-0310-9956-ffa450edef68
-
- 08 Nov, 1996 2 commits
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76970 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
If If-None-Match is included and fails, then If-Modified-Since should not be checked. Likewise for If-Match and If-Unmodified-Since. This allows the more exact check to be preferred over the less exact check. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76969 13f79535-47bb-0310-9956-ffa450edef68
-
- 06 Nov, 1996 2 commits
-
-
Roy T. Fielding authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76968 13f79535-47bb-0310-9956-ffa450edef68
-
Roy T. Fielding authored
If-Match, and If-None-Match in order to correct the order of preference regarding ETags and to make use of the parseHTTPdate routine. Also modified the comparison for last-modification time so that it changes Last-Modified only if it is greater than the current time, rather than the request_time. We also now check to be sure that the incoming If-Modified-Since value is not greater than the request_time, which was the last non-compliant bit for HTTP/1.1. Finally, I updated the Makefile dependency list, since it was woefully out-of-date and hard to read in its prior form. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76967 13f79535-47bb-0310-9956-ffa450edef68
-
- 04 Nov, 1996 8 commits
-
-
Chuck Murcko authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76966 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Submitted by: johnh@isi.edu Added a SendBufferSize directive to the core, which allows one to adjust the TCP buffer sizes to optimize for high-bandwidth, high-latency transfers of large files. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76965 13f79535-47bb-0310-9956-ffa450edef68
-
pcs authored
Allow options to be set/unset individually, rather than replacing existing options settings. Used as: "Options +Indexes -Multiviews", etc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76964 13f79535-47bb-0310-9956-ffa450edef68
-
pcs authored
Add NCSA-compatible RedirectTemp and RedirectPermanent directives. Also allow 410 Gone status with "Redirect URL gone". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76963 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
discussions. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76962 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76961 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Submitted by: Andrew Wilson <andrew@aaaaaaaa.demon.co.uk> Long-overdue add of mod_expires. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76960 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Submitted by: Tom Tromey (tromey@cygnus.com) Implemented the "AddModule" functionality. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76959 13f79535-47bb-0310-9956-ffa450edef68
-
- 03 Nov, 1996 16 commits
-
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76958 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Submitted by: Chuck Murcko Fixed -Wall warning. Woohoo! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76957 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76956 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76955 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Submitted by: Sameer Parekh Simple typo. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76954 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76953 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76952 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76951 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76950 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
Fixed accidental change in Makefile made in last commit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76949 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76948 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76947 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
(Apache prototype by rob thau) to Apache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76946 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76945 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76944 13f79535-47bb-0310-9956-ffa450edef68
-
brian authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@76943 13f79535-47bb-0310-9956-ffa450edef68
-