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