Jeff Trawick
7a8893fe32
spool_reqbody_cl(): mention in commentary that any data we
...
read into memory before reaching our threshold will not be
written to disk
tweak an existing comment, since "also" does not apply to
the situation where we chunk due to an environment variable
setting
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@151147 13f79535-47bb-0310-9956-ffa450edef68
2005-02-03 12:03:54 +00:00
Jeff Trawick
f611a09378
pretty up some error log messages; include useful info
...
such as directory name and file name
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@125089 13f79535-47bb-0310-9956-ffa450edef68
2005-01-13 19:01:19 +00:00
Jeff Trawick
761dee95bd
in memory of Greg's Grandma, fix another ungrammatical comment
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@125000 13f79535-47bb-0310-9956-ffa450edef68
2005-01-12 23:21:50 +00:00
Greg Ames
d5bb484117
simplify
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124999 13f79535-47bb-0310-9956-ffa450edef68
2005-01-12 22:28:27 +00:00
Greg Ames
3964c8fac0
grammatical nit-pick
...
(can't help it...Grandma was an English teacher)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124994 13f79535-47bb-0310-9956-ffa450edef68
2005-01-12 21:46:35 +00:00
Jeff Trawick
853ffd21c6
don't flush more than is necessary; this change keeps us
...
from writing small packets to the origin server when we're
streaming the request body
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124807 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 16:15:34 +00:00
Jeff Trawick
fe5fe7fa54
stick with the same bucket alloc (r->connection)
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124805 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 15:27:14 +00:00
Jeff Trawick
8c19c6c82e
create tmp files with names more like those of htpasswd and
...
htdigest
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124796 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 12:33:54 +00:00
Jeff Trawick
c4882b844e
watch out for "Content-Length: 0" more carefully; it has
...
to be handled a certain way
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124562 13f79535-47bb-0310-9956-ffa450edef68
2005-01-07 19:37:33 +00:00
Jeff Trawick
15da839a22
if last brigade of data received from client had data
...
and EOS, then input_brigade would be empty here
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124377 13f79535-47bb-0310-9956-ffa450edef68
2005-01-06 14:16:54 +00:00
Jeff Trawick
a65178039f
support extremely large request bodies by representing the
...
spool file with multiple file buckets, as with default handler
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124230 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 17:29:52 +00:00
Jeff Trawick
7fa15d74f1
the check for EOS isn't going to work if we already
...
deleted the eos; we ended up sending the last piece
of data from the client twice; I had (poorly) modified
the EOS section from the normal idiom to keep from having
to deal with the EOS later when reusing the input
brigade
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124220 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 15:25:12 +00:00
Jeff Trawick
168ee6cbfb
clean up the data that we just wrote to the spool file;
...
otherwise, very very nasty stuff happens when input brigade
with same contents is passed down to filters to grab more
body data
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124204 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 14:11:49 +00:00
Jeff Trawick
07c50805fb
Fix a problem in the path which preserves the input content
...
length; the header brigade would get lost
Submitted by: Allan Edwards
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124202 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 14:08:00 +00:00
Jeff Trawick
94d4653558
overhaul of HTTP proxy handling of request bodies to resolve
...
unlimited memory consumption issue with current 2.1.x
solution
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124201 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 14:00:57 +00:00
Jeff Trawick
eeaae3d87c
create a branch to facilitate redesign of mod_proxy's handling
...
of request bodies
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody@124193 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 11:41:47 +00:00
Graham Leggett
0dfcbc1ad8
Fix some compiler warnings inside the LDAP modules
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124187 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 07:07:46 +00:00
André Malo
4a5e555f8e
adjust copyright notices in the style directory
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124113 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:35:57 +00:00
André Malo
fe691c7a19
svn:eol-style = native
...
... svn config adjusted ;-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124110 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:10:06 +00:00
André Malo
e15437c4d0
build bootstrap
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124109 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:08:58 +00:00
André Malo
4c18e6fe6c
svn:eol-style = native
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124107 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:06:21 +00:00
André Malo
c802f773c9
add pt-br base file
...
glossarylink was missing, it contains the english version for now
chm commented out (no sitemap yet)
man commented out (english only atm)
Submitted by: Eduardo Tompson Pereira <duaspila ig.com.br>
Reviewed by: Luiz Rocha <lsdrocha gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124106 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 15:02:39 +00:00
Graham Leggett
ab4d018d62
Add a build script to create a solaris package.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124104 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 13:38:11 +00:00
Jean-Frederic Clere
af7e1482aa
Add including of util_charset.h otherwise ap_hdrs_from_ascii is not defined.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124080 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 09:58:01 +00:00
Astrid Malo
9df8cb2bb0
update transformation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124062 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 02:56:02 +00:00
Astrid Malo
4976ee262d
update German translation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124046 13f79535-47bb-0310-9956-ffa450edef68
2005-01-04 00:38:24 +00:00
Astrid Malo
334ef846a7
META elements are defined in the document head which is bart of the response body. So be a little bit more precise at this point.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124024 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 20:13:03 +00:00
Hiroaki Kawai
77d0aef4c2
Update Japanese translation.
...
English revision: 111581
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123958 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 11:15:32 +00:00
Roy T. Fielding
d37e11f802
Update copyright to new format and year.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123919 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 00:39:14 +00:00
Roy T. Fielding
1db8f31359
Update copyright notice to new format to show what needs
...
to be done for all of trunk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123918 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 00:38:24 +00:00
William A. Rowe Jr
06836908ad
Eliminate a very ugly race - the parallel starting threads were picking
...
up thread identifiers other than their own. Because the limit of threads
is an int, stuffing the int into the void* value is a safe argument
convention.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123899 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 20:18:58 +00:00
William A. Rowe Jr
20e5f62e27
Relative paths were wrong, for the recent ap_release.h patch.
...
Correct to resolve to httpd-src-root/include.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123885 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 08:07:41 +00:00
Mladen Turk
6ef95d4e37
Kill the pool cleanup when closing non cachable connection.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123884 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 08:00:26 +00:00
William A. Rowe Jr
d962fcfc8b
FINALLY Correct ap_http_method()! It is NOT a method, it's a SCHEME!
...
Bumped mmn, and ap module cookie, for this function rename.
It's not a deprecation, as ap_http_method would be a lovely function
name sometime in the future: to determine what the function name implies.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123882 13f79535-47bb-0310-9956-ffa450edef68
2005-01-02 05:33:44 +00:00
Mladen Turk
55230b229b
Fix closing connection for non-cachable proxies.
...
Do not close the entire connection, just socket if
opened.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123842 13f79535-47bb-0310-9956-ffa450edef68
2005-01-01 16:04:25 +00:00
Mladen Turk
def2248738
Close the connection for generic forward and
...
reverse proxy workers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123840 13f79535-47bb-0310-9956-ffa450edef68
2005-01-01 15:23:51 +00:00
Rich Bowen
a075a52c27
We generally call these slashes rather than sloshes.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123821 13f79535-47bb-0310-9956-ffa450edef68
2004-12-31 21:03:18 +00:00
Mladen Turk
6d38243ac0
Simplify connection address and port resolving for non-cachable workers (gereric forward and reverse proxy).
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123811 13f79535-47bb-0310-9956-ffa450edef68
2004-12-31 17:25:58 +00:00
Mladen Turk
81f6517752
Do not cache hostname and port for forward and
...
reverse generic proxy workers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123809 13f79535-47bb-0310-9956-ffa450edef68
2004-12-31 17:01:05 +00:00
André Malo
3d156977d8
update transformation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123749 13f79535-47bb-0310-9956-ffa450edef68
2004-12-30 23:38:39 +00:00
Jeff Trawick
d2c60589c6
mod_proxy: Fix a request corruption problem and a buffering problem
...
which sometimes prevented proxy-sendchunks from working.
strlen() couldn't be used since no space had been allocated
for trailing NUL, so occasionally the T-E header field contained
garbage and a 400 error would be returned by the origin server.
The lack of a flush bucket after the final "0\r\n\r\n" was a
showstopper for my simple tests (reverse proxy to Apache 1.3 +
custom module which read the body).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123727 13f79535-47bb-0310-9956-ffa450edef68
2004-12-30 16:31:13 +00:00
Rich Bowen
677b22e97d
As per bug 22061, this paragraph predates RedirectMatch, and is thus
...
soemwhat inaccurate.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123579 13f79535-47bb-0310-9956-ffa450edef68
2004-12-28 22:28:53 +00:00
Rich Bowen
3d9ff93e16
If we're going to recommend a book, we should recommend the edition
...
that's actually in print.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123371 13f79535-47bb-0310-9956-ffa450edef68
2004-12-26 23:43:26 +00:00
Rich Bowen
e600827946
As per bug #30308 , added example where a virtual host is proxied to
...
another server. Thanks go to Matt Burke for submitting the example.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123368 13f79535-47bb-0310-9956-ffa450edef68
2004-12-26 21:50:45 +00:00
Rich Bowen
f40678ec5f
Ported changes over from 2.0 docs.
...
Add port designation to test URL for Windows.html
Corrected regular expression in DirectoryMatch document
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123300 13f79535-47bb-0310-9956-ffa450edef68
2004-12-24 20:19:58 +00:00
Brian Havard
8b62fcf936
The current config.guess in APR outputs i386-pc-os2-emx on OS/2 rather than
...
i386-pc-os2_emx (dash instead of underscore), adjust the tests to match.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@122967 13f79535-47bb-0310-9956-ffa450edef68
2004-12-21 12:52:17 +00:00
André Malo
c7a7665ff1
update transformation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@122910 13f79535-47bb-0310-9956-ffa450edef68
2004-12-21 00:01:22 +00:00
André Malo
d9e0cf614f
apply markup in directive description fields
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@122909 13f79535-47bb-0310-9956-ffa450edef68
2004-12-20 23:59:56 +00:00
André Malo
5ff6b42f6c
update transformation
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@122908 13f79535-47bb-0310-9956-ffa450edef68
2004-12-20 23:50:19 +00:00
André Malo
ab279b08f0
- use better markup
...
- it's meta _element_ not tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@122907 13f79535-47bb-0310-9956-ffa450edef68
2004-12-20 23:46:06 +00:00