CHANGES revision 05a5a9c3e16f21566e1b61f4bd68025ce1b741cc
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes******************************************
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes* PLEASE NOTE: Now that development for *
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes* mod_proxy has been folded back into *
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes* the httpd-2.1 tree, this file has *
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes* been deprecated. Proxy changes should *
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg* be noted in httpd-2.x's CHANGES file. *
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes* This file exists for historical *
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes* purposes. *
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes******************************************
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesmod_proxy changes for httpd 2.0.29-dev
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) don't do keepalives for sub-requests. [Ian Holsman]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg *) fix up proxypass handling [Ian Holsman]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) don't send If-Modified-Since, Cache-Control, or If-None-Match on
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes a subrequest [Ian Holsman]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesmod_proxy changes for httpd 2.0.26-dev
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Add New option 'HTTPProxyOverrideReturnedErrors'. By Turning the
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes Flag on, you will mask the error pages returned by the proxied
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes server, and will it will be handled as if your server generated
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes the error. This change was put in so that a 404 on a included
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes r-proxied component will act in the same manner as a 404 on a
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg included file. [Ian Holsman <ianh@cnet.com>]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesmod_proxy changes for httpd 2.0.25-dev
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg *) Split proxy: space using <Proxy[Match] > directive blocks from
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes the <Directory[Match] > and <Files[Match] > blocks. Mod_proxy
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes now bypasses the directory and files testing phase (and skips
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes the http TRACE default handler on it's own, as well). Note that
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes <Location > blocks continue to be processed for proxy: requests.
b73cd3195994247cfba2842f4b794058384114cdfuankg [William Rowe <wrowe@covalent.net>]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) apr_uri type/function namespace changes in apr_uri functions
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Doug MacEachern <dougm@covalent.net>]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholesmod_proxy changes for httpd 2.0.23-dev
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes *) break the proxy_http_handler into multiple smaller functions.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [John Barbee <barbee@veribox.net>]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) Fix the proxy when the origin server sends back a 100
2b32c9f6c744852dcd34344add090be19d2f6fbbbnicholes Continue response. [John Barbee <barbee@veribox.net>]
b3625b7b10590d60b077c1e1460c1394080c7cdefuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) Change 'readbytes' from apr_size_t to apr_off_t due to change
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes in ap_get_brigade's parameters [John Barbee <barbee@veribox.net>]
c5ef27ed1cf15c6b6345335c51416d2ea36198bfbnicholes
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholesmod_proxy changes for httpd 2.0.20-dev
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) Timeout added for backend connections.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Victor Orlikowski <v.j.orlikowski@gte.net>]
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg *) Fix abort code path in proxy_http.c, similar to FTP fix.
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg [Chuck Murcko <chuck@topsail.org>]
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) Fix FTP ABOR command execution path.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Victor Orlikowski <v.j.orlikowski@gte.net>]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) FTP return code variable cleanup; fixed problem in login
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Chuck Murcko <chuck@topsail.org>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Get PORT working again in the ftp proxy.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Victor Orlikowski <v.j.orlikowski@gte.net>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Return result code check for FTP QUIT, after fixing
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg problems with passive connection handling.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Victor Orlikowski <v.j.orlikowski@gte.net>]
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Reorganize ap_proxy_string_read() internally to not process eos
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg buckets.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Chuck Murcko <chuck@topsail.org>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Victor Orlikowski <v.j.orlikowski@gte.net>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Remove result code check for FTP QUIT command. Some servers send
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg nothing at all back in response to QUIT.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Chuck Murcko <chuck@topsail.org>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Victor Orlikowski <v.j.orlikowski@gte.net>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgmod_proxy changes for httpd 2.0.19
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
7995fdac78f2c72195ecd6472b39c889ebc71fe7fuankg *) Reverse previous patch since the core reverted.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Chuck Murcko <chuck@topsail.org>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Remove indirection on number of bytes to read for input filters.
7995fdac78f2c72195ecd6472b39c889ebc71fe7fuankg [Chuck Murcko <chuck@topsail.org>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Fixed a problem with directory listing corruption in the
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg PROXY_DIR filter.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Graham Leggett <minfrin@sharp.fm>]
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg *) mod_proxy and the proxy submodules now build properly as DSOs.
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg [Graham Leggett <minfrin@sharp.fm>]
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg *) Stopped the HTTP proxy from trying to read entity bodies when there
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg wasn't one (response was 1xx, 204, 205 or 304).
fc6b42a7c93753249b9b6ceb5186a804bf314c22fuankg [Graham Leggett <minfrin@sharp.fm>]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) Made sure dates were canonicalised correctly when passed to the client
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes browser through the HTTP proxy.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Graham Leggett <minfrin@sharp.fm>]
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) Split each individual proxy protocol into separate modules.
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes [Graham Leggett <minfrin@sharp.fm>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Added Max-Forwards support for all request types so as to prevent
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg loops.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Graham Leggett <minfrin@sharp.fm>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) Fix warnings about byte count type on Darwin (connect handler).
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Chuck Murcko <chuck@topsail.org>]
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankgmod_proxy changes for httpd 2.0.18
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg *) IPV6 EPSV support for IPV6 in FTP proxy.
cc319b1efed8edecf2e68e4109406f48ca5af6effuankg [Graham Leggett <minfrin@sharp.fm>]
b73cd3195994247cfba2842f4b794058384114cdfuankg
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg *) FTP directory filter works now.
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg [Graham Leggett <minfrin@sharp.fm>]
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg *) Fixed some thread-safety issues with the HTTP proxy in mod_proxy.
34a74d61abaed4080bd369454c1f2f9730aeabaefuankg [Graham Leggett <minfrin@sharp.fm>]
8492a2583e10c69f40de92f9d5da884b64d9f379fuankg
bb2b38cd44b032118359afbc743efbea12f48e61bnicholes *) 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>]