|
Packit |
90a5c9 |
******************************************
|
|
Packit |
90a5c9 |
* PLEASE NOTE: Now that development for *
|
|
Packit |
90a5c9 |
* mod_proxy has been folded back into *
|
|
Packit |
90a5c9 |
* the httpd-2.1 tree, this file has *
|
|
Packit |
90a5c9 |
* been deprecated. Proxy changes should *
|
|
Packit |
90a5c9 |
* be noted in httpd-2.x's CHANGES file. *
|
|
Packit |
90a5c9 |
* This file exists for historical *
|
|
Packit |
90a5c9 |
* purposes. *
|
|
Packit |
90a5c9 |
******************************************
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.29-dev
|
|
Packit |
90a5c9 |
*) don't do keepalives for sub-requests. [Ian Holsman]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) fix up proxypass handling [Ian Holsman]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) don't send If-Modified-Since, Cache-Control, or If-None-Match on
|
|
Packit |
90a5c9 |
a subrequest [Ian Holsman]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.26-dev
|
|
Packit |
90a5c9 |
*) Add New option 'HTTPProxyOverrideReturnedErrors'. By Turning the
|
|
Packit |
90a5c9 |
Flag on, you will mask the error pages returned by the proxied
|
|
Packit |
90a5c9 |
server, and will it will be handled as if your server generated
|
|
Packit |
90a5c9 |
the error. This change was put in so that a 404 on a included
|
|
Packit |
90a5c9 |
r-proxied component will act in the same manner as a 404 on a
|
|
Packit |
90a5c9 |
included file. [Ian Holsman <ianh@cnet.com>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.25-dev
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Split proxy: space using <Proxy[Match] > directive blocks from
|
|
Packit |
90a5c9 |
the <Directory[Match] > and <Files[Match] > blocks. Mod_proxy
|
|
Packit |
90a5c9 |
now bypasses the directory and files testing phase (and skips
|
|
Packit |
90a5c9 |
the http TRACE default handler on it's own, as well). Note that
|
|
Packit |
90a5c9 |
<Location > blocks continue to be processed for proxy: requests.
|
|
Packit |
90a5c9 |
[William Rowe <wrowe@covalent.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) apr_uri type/function namespace changes in apr_uri functions
|
|
Packit |
90a5c9 |
[Doug MacEachern <dougm@covalent.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.23-dev
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) break the proxy_http_handler into multiple smaller functions.
|
|
Packit |
90a5c9 |
[John Barbee <barbee@veribox.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fix the proxy when the origin server sends back a 100
|
|
Packit |
90a5c9 |
Continue response. [John Barbee <barbee@veribox.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Change 'readbytes' from apr_size_t to apr_off_t due to change
|
|
Packit |
90a5c9 |
in ap_get_brigade's parameters [John Barbee <barbee@veribox.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.20-dev
|
|
Packit |
90a5c9 |
*) Timeout added for backend connections.
|
|
Packit |
90a5c9 |
[Victor Orlikowski <v.j.orlikowski@gte.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fix abort code path in proxy_http.c, similar to FTP fix.
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fix FTP ABOR command execution path.
|
|
Packit |
90a5c9 |
[Victor Orlikowski <v.j.orlikowski@gte.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) FTP return code variable cleanup; fixed problem in login
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Get PORT working again in the ftp proxy.
|
|
Packit |
90a5c9 |
[Victor Orlikowski <v.j.orlikowski@gte.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Return result code check for FTP QUIT, after fixing
|
|
Packit |
90a5c9 |
problems with passive connection handling.
|
|
Packit |
90a5c9 |
[Victor Orlikowski <v.j.orlikowski@gte.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Reorganize ap_proxy_string_read() internally to not process eos
|
|
Packit |
90a5c9 |
buckets.
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
[Victor Orlikowski <v.j.orlikowski@gte.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Remove result code check for FTP QUIT command. Some servers send
|
|
Packit |
90a5c9 |
nothing at all back in response to QUIT.
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
[Victor Orlikowski <v.j.orlikowski@gte.net>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.19
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Reverse previous patch since the core reverted.
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Remove indirection on number of bytes to read for input filters.
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fixed a problem with directory listing corruption in the
|
|
Packit |
90a5c9 |
PROXY_DIR filter.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) mod_proxy and the proxy submodules now build properly as DSOs.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Stopped the HTTP proxy from trying to read entity bodies when there
|
|
Packit |
90a5c9 |
wasn't one (response was 1xx, 204, 205 or 304).
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Made sure dates were canonicalised correctly when passed to the client
|
|
Packit |
90a5c9 |
browser through the HTTP proxy.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Split each individual proxy protocol into separate modules.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Added Max-Forwards support for all request types so as to prevent
|
|
Packit |
90a5c9 |
loops.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fix warnings about byte count type on Darwin (connect handler).
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.18
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) IPV6 EPSV support for IPV6 in FTP proxy.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) FTP directory filter works now.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fixed some thread-safety issues with the HTTP proxy in mod_proxy.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) PASV FTP works now.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Reworked the line-at-a-time read from the control connection to
|
|
Packit |
90a5c9 |
workaround a stray empty bucket returned by the HTTP_IN filter.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Stopped the CORE filter from sending off an HTTP response when a
|
|
Packit |
90a5c9 |
CONNECT tunnel was closed.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fixed the poll() loop in proxy_connect.c -> it works now!!!
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Converted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.17
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Major rework of ap_proxy_ftp_handler() to use filters (begone foul
|
|
Packit |
90a5c9 |
BUFF!!!). It compiles, but is untested, and the build environment needs
|
|
Packit |
90a5c9 |
to be fixed to include proxy_ftp.c.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Cleanup of dead functions within proxy_util.c.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Reworked the storage of the client socket between keepalive connections
|
|
Packit |
90a5c9 |
to fix some nasty problems with the socket lasting longer than the
|
|
Packit |
90a5c9 |
memory pool it was allocated from.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fixed bug where a hostname without a "." in it (such as "localhost")
|
|
Packit |
90a5c9 |
would not trigger an IP address check with ProxyBlock.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.16
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fixed ProxyBlock bugs with ap_proxy_http_handler() and
|
|
Packit |
90a5c9 |
ap_proxy_connect_handler().
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Updated ap_proxy_connect_handler() to support APR, while
|
|
Packit |
90a5c9 |
moving some common code between http_handler and connect_handler
|
|
Packit |
90a5c9 |
to proxy_util.c.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Updated mod_proxy.html docs to include v2.0 configuration.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fixed problem where responses without entity bodies would cause
|
|
Packit |
90a5c9 |
the directly following proxy keepalive request to fail.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.15
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Added support for downstream keepalives in mod_proxy.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Changed mod_proxy ap_proxy_http_handler() to support APR properly.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fix problem where incoming response headers were not being returned
|
|
Packit |
90a5c9 |
to the client in mod_proxy.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Added X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server to
|
|
Packit |
90a5c9 |
reverse proxied request headers in mod_proxy.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) replace INADDR_NONE with APR_INADDR_NONE [Ian Holsman <IanH@cnet.com>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fix problem with proxy configuration where globally set
|
|
Packit |
90a5c9 |
configuration options were overridden inside virtual hosts.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Fix ProxyReceiveBufferSize where default value was left
|
|
Packit |
90a5c9 |
uninitialised.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) Some small changes:
|
|
Packit |
90a5c9 |
- Ensured hop-by-hop headers were stripped as per
|
|
Packit |
90a5c9 |
RFC2616 13.5.1.
|
|
Packit |
90a5c9 |
- Upgraded version code to HTTP/1.1.
|
|
Packit |
90a5c9 |
- Added Connection: close until Keepalives come.
|
|
Packit |
90a5c9 |
- Some cosmetic fixes and commenting.
|
|
Packit |
90a5c9 |
[Graham Leggett <minfrin@sharp.fm>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
mod_proxy changes for httpd 2.0.14
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) removed ProxyNoCache and ProxyCacheForceCompletion config directives,
|
|
Packit |
90a5c9 |
since we no longer directly cache from this module
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) removed cache
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|
|
Packit |
90a5c9 |
*) initial rerebuild for 2.0
|
|
Packit |
90a5c9 |
[Chuck Murcko <chuck@topsail.org>]
|
|
Packit |
90a5c9 |
|