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