- Mar 09, 2002
-
-
Graham Leggett authored
when reading from a remote HTTP server in proxy. Modify receive/send loop in proxy_http and proxy_ftp so that should it be necessary, the remote server socket is closed before transmitting the last buffer (set by ProxyIOBufferSize) to the client. This prevents the backend server from being forced to hang around while the last few bytes are transmitted to a slow client. Fix the case where no error checking was performed on the final brigade in the loop. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93811 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
CacheMaxExpire and CacheDefaultExpire to use seconds rather than hours. PR: Obtained from: Submitted by: Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93810 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 08, 2002
-
-
Bill Stoddard authored
way to get this back into an apr_file_t since we are in the request pool cleanup. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93806 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93805 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
Garbage characters sometimes appeared after a legitimate folded header. We weren't allocating an extra byte for the trailing null, or copying it, when called from get_mime_headers (folding is in use, and ap_rgetline is responsible for allocating memory). No need to worry about a trailing LF - it's already been nuked. I checked the partial line code to see if it had a similar bug. It looked like it did, and that the code which trims the back end of the line would run multiple times and whack innocent bytes. However, gdb showed that this section of code appears to be dead due to input filter chain changes. also, removed an assignment to a dead variable. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93804 13f79535-47bb-0310-9956-ffa450edef68
-
Doug MacEachern authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93799 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
which would prevent the relocation of an httpd binary without having to specify the -f flag. Now it will be relative to the $prefix if $sysconfdir shares a common prefix, or it will remain relative to $sysconfdir. Submitted by: Thom May <thom@planetarytramp.net>, Aaron Bannert git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93798 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93797 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93795 13f79535-47bb-0310-9956-ffa450edef68
-
Justin Erenkrantz authored
Add note about the fact that we aren't doing config substitution properly. This is a showstopper, IMHO. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93794 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93793 13f79535-47bb-0310-9956-ffa450edef68
-
Joshua Slive authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93792 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93791 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
the request over the unix socket it isn't perfect (EINTR, partial reads) but it is good enough to avoid segfaulting if some code tries to verify that cgid is active by connecting to its unix socket git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93790 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
is enabled by the #define CACHE_FD, which is off by default. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93789 13f79535-47bb-0310-9956-ffa450edef68
-
Ian Holsman authored
new directive SSIUndefinedEcho. this allows webadmins to change the default '(none)' to something a bit more presentable (eg <!-- undef -->) PR: Obtained from: Rex (the hack he had to fix this was so ugly I was forced to do this) Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93788 13f79535-47bb-0310-9956-ffa450edef68
-
Jeff Trawick authored
to the target host; use that common function for proxy HTTP and proxy CONNECT In that new function, fix this problem: Proxy HTTP and CONNECT: Keep trying other addresses from the DNS when we can't get a socket in the specified address family. We may have gotten back an IPv6 address first and yet our system is not configured to allow IPv6 sockets. An example host is www.ipv6.org. The first address I get back is an IPv6 address, but my machine may not be configured to allow an AF_INET6 socket. Before the fix: The apr_socket() failure was fatal. After the fix: When apr_socket() fails, we go to the next address from the resolver, successfully create a socket in the specified family (AF_INET), and all is well. (an unrelated fix in this commit was to pass a server_rec in a broken ap_log_error() call) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93787 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Stein authored
kind of errortag. any buried errortag is better than a generic response. Submitted by: Ben Collins-Sussman <sussman@collab.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93786 13f79535-47bb-0310-9956-ffa450edef68
-
Doug MacEachern authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93785 13f79535-47bb-0310-9956-ffa450edef68
-
- Mar 07, 2002
-
-
Doug MacEachern authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93784 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93783 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93782 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93781 13f79535-47bb-0310-9956-ffa450edef68
-
Bradley Nicholes authored
Also fixed up the !HAVE_DRIVE_LETTERS case (such as NetWare) where the volume delimiter ( colon ) is not in an absolute position. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93780 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93779 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
out of serving out of the cache fails. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93778 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
Sanitize some of the return codes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93777 13f79535-47bb-0310-9956-ffa450edef68
-
Greg Ames authored
normal case worked OK, but due to the recursion and multiple exit points, input bytes could go thru charset translation multiple times or not at all. Suggested by: Justin Erenkrantz git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93776 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
cache updates. We really need a better way to allocate cache_objects. Making WAY too many malloc/calloc calls... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93775 13f79535-47bb-0310-9956-ffa450edef68
-
Sander Striker authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93774 13f79535-47bb-0310-9956-ffa450edef68
-
Sander Striker authored
Mostly detab, but also changed some comments from: /* ** */ to: /* * */ The latter is the dominant style in apache. The only other places they can be found (AFAIK) are mod_ssl and mod_rewrite. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93773 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93772 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
placed in the cache. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93771 13f79535-47bb-0310-9956-ffa450edef68
-
Bradley Nicholes authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93770 13f79535-47bb-0310-9956-ffa450edef68
-
Bradley Nicholes authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93769 13f79535-47bb-0310-9956-ffa450edef68
-
Bill Stoddard authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93768 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
home directory. Bad bad bad. Make sure the variable was set to something before cd-ing to blank and ending up in their $HOME. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93767 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
home directory. Bad bad bad. Make sure the variable was set to something before cd-ing to blank and ending up in their $HOME. Also, since each line under a make rule is treated as a new subshell, it's not necessary to surround the whole line in ()s. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93766 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93765 13f79535-47bb-0310-9956-ffa450edef68
-
Aaron Bannert authored
Submitted by: Thom May <thom@planetarytramp.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93764 13f79535-47bb-0310-9956-ffa450edef68
-