(/GX is deprecated). Drop /machine link flag which was always
implicit, and MS has moved from different /machine flags twords
using alternate linker binaries. (And of course, link is a bit
late to choose machine architecture anyways, if the user hadn't
used the correct compile flags.)
Backports: 395419, 397407
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@419202 13f79535-47bb-0310-9956-ffa450edef68
If the proxy was enabled, and UseCanonicalHostname was off, then the Via:
header would report not the proxy hosts's ServerName (or any of its
configured VHosts's names) as it should, but the *origin hosts*'s name. Now
it reports its ServerName.
Author: martin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@395190 13f79535-47bb-0310-9956-ffa450edef68
* Fix PR37145 (data loss with httpd-2.0.55 reverse proxy method=post) by
exchanging APR_BRIGADE_CONCAT with ap_save_brigade to ensure that
transient buckets get setaside correctly between various iterations of
ap_get_brigade calls.
Submitted by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@372046 13f79535-47bb-0310-9956-ffa450edef68
refactoring http_proxy.c request body handling. This correction
satisfies the vetoed issues in the originally backported proxy
request body handling from trunk/ in 171205.
Reviewed by: jim, minfrin
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@290517 13f79535-47bb-0310-9956-ffa450edef68
now drops any proxied TRACE request which tries to pass a body, unless
the user explicitly forces 'TraceEnable extended'.
Per colm; removed \n's from error_notes, docs coming next.
Reviewed by: jimj, colm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@290502 13f79535-47bb-0310-9956-ffa450edef68
of this code was too illegible for review, so it seems we will need to
re-review a fresh backport from httpd trunk.
Vetoed this patch as it does not follow RFC 2616. Specifically;
* it does not respect the T-E over the C-L header
* it introduces edge cases that allow the administrator to override the
C-L T-E elections, without enough information to prevent splitting the
request body due to misaligned C-L's
* it does not attempt to determine if there is a 'small request body'
to prefer a legitimate C-L when that option might be available to us
A revised patch combining Jeff's efforts and mine is available at:
http://people.apache.org/~wrowe/httpd-2.0.54-proxy-request.patch
for review, which can be applied to httpd-2.0.54 and now, branches/2.0.x,
which addresses all of the issues cited above.
Note that I do not consider the correction of protocol.c to strip the C-L
where T-E is present to fulfill the need for a correct implementation
in proxy_http.c; modules have too much flexibility to modify the headers
before they hit this logic in the proxy request body handling.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@230592 13f79535-47bb-0310-9956-ffa450edef68
proxy HTTP: Rework the handling of request bodies to handle
chunked input and input filters which modify content length, and
avoid spooling arbitrary-sized request bodies in memory.
PR: 15859
Reviewed by: jerenkrantz, jim
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@171205 13f79535-47bb-0310-9956-ffa450edef68
Remove formatting characters from ap_log_error() calls. These
were escaped as fallout from CAN-2003-0020.
Submitted by: Eric Covener <ecovener gmail.com>
Reviewed by: trawick, jorton, pquerna
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@159355 13f79535-47bb-0310-9956-ffa450edef68
Small fix to allow reverse proxying to an ftp server. Previously
an attempt to do this would try and connect to 0.0.0.0, regardless
of the server specified.
PR: 24922
Submitted by: Pascal Terjan <pterjan@linuxfr.org>
Reviewed by: minfrin, nd, jim, trawick
(note: this commit includes minor style-only repairs to the
original patch; see r1.144 of proxy_ftp.c)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@104149 13f79535-47bb-0310-9956-ffa450edef68
ProxyErrorOverride are enabled, and a non-200 response without a
body is generated by the backend server.
Submitted by: Graham Wiseman <gwiseman fscinternet.com>, Richard Reiner
Reviewed by: stoddard, nd, jerenkrantz, rederpj
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@102465 13f79535-47bb-0310-9956-ffa450edef68
* proxy_http.c (ap_proxy_http_process_response): Send a valid
status-line even if the parsed status-line had no trailing spaces.
Remove the warning for this case as triggers for valid status-lines
too.
PR: 23998
Reviewed by: Jeff Trawick, Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101954 13f79535-47bb-0310-9956-ffa450edef68
the older .dbg format symbols are not worth the interference with
generating complete .pdb symbolic debugging databases.
This patch further eliminates pdbtype:sept flags that interfere with
deciphering local symbols and type information.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@98971 13f79535-47bb-0310-9956-ffa450edef68
fairly redundant when you retain rich .pdb debugging symbol files. We
have rarely used them, and generally .dbg and .pdb files prove much more
useful for the cases we have.
While eliminating /map files, we are also shrinking the size of the .dbg
files by stripping 'private' symbol information. Really this means less
rich diagnostics from Dr. Watson on NT or Win9x when they query the .dbg
symbols in creating a DrWatson log file. But it's more than compensated
for on newer OS'es where Dr. Watson will query the .pdb symbols, on all
Win32 flavors when WinDbg is used with the .pdb symbols, and the fact that
the distribution of binary symbols will use less bandwidth when less
information is duplicated from the .pdb format into the .dbg files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@98742 13f79535-47bb-0310-9956-ffa450edef68
and .dbg files (older debuggers and Dr. Watson-type utilities
on WinNT or Win9x don't support the newer .pdb flavor.)
[Allen Edwards, William Rowe]
This backport is necessary in order to assure those debugging the Apache
binaries are in a position to collect Crash Dump files from segfault bug
reports, either to use locally ourselves, or for the user to merge into
their {c:\windows}\symbols tree (for .dbg files) or leave in the same
directories as the binaries (for .pdb files).
This patch has no impact on optimization, performance, file size (of those
binaries) or other attributes. Although this will add 'heft' to the
distribution, we can decide 1) to package them in a seperate .zip file
from dist/httpd/binaries/win32/ or 2) to include them in the .msi, but
install only in the custom install selection page, or finally, 3) set up
our own symbols 'server' that can be configured with windbg to automatically
retrieve the right symbol sets for a given release package.
Discussion is free to follow on list; these are the results of Allen and
my research into the murky depths of 9x v.s. NT v.s. 2000/XP debug symbols.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@98597 13f79535-47bb-0310-9956-ffa450edef68