CHANGES revision 53c2eb831bfe47860e3f5ec9190b15cb92f15181
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167andmod_proxy changes for httpd 2.0.18-dev
0ad489b182ebb3789322345e22cf750f88ae167and
b244bbf442a0aea3dc397b4d0d751f4716c5891dnd *) FTP return code variable cleanup; fixed problem in login
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Get PORT working again in the ftp proxy.
031b91a62d25106ae69d4693475c79618dd5e884fielding [Victor Orlikowski <v.j.orlikowski@gte.net>]
031b91a62d25106ae69d4693475c79618dd5e884fielding
031b91a62d25106ae69d4693475c79618dd5e884fielding *) Return result code check for FTP QUIT, after fixing
031b91a62d25106ae69d4693475c79618dd5e884fielding problems with passive connection handling.
031b91a62d25106ae69d4693475c79618dd5e884fielding [Victor Orlikowski <v.j.orlikowski@gte.net>]
031b91a62d25106ae69d4693475c79618dd5e884fielding
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
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).
0ad489b182ebb3789322345e22cf750f88ae167and [Chuck Murcko <chuck@topsail.org>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) IPV6 EPSV support for IPV6 in FTP proxy.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) FTP directory filter works now.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Fixed some thread-safety issues with the HTTP proxy in mod_proxy.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) PASV FTP works now.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Reworked the line-at-a-time read from the control connection to
0ad489b182ebb3789322345e22cf750f88ae167and workaround a stray empty bucket returned by the HTTP_IN filter.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Stopped the CORE filter from sending off an HTTP response when a
0ad489b182ebb3789322345e22cf750f88ae167and CONNECT tunnel was closed.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Fixed the poll() loop in proxy_connect.c -> it works now!!!
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Converted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Major rework of ap_proxy_ftp_handler() to use filters (begone foul
0ad489b182ebb3789322345e22cf750f88ae167and BUFF!!!). It compiles, but is untested, and the build environment needs
0ad489b182ebb3789322345e22cf750f88ae167and to be fixed to include proxy_ftp.c.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Cleanup of dead functions within proxy_util.c.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Reworked the storage of the client socket between keepalive connections
0ad489b182ebb3789322345e22cf750f88ae167and to fix some nasty problems with the socket lasting longer than the
0ad489b182ebb3789322345e22cf750f88ae167and memory pool it was allocated from.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Fixed bug where a hostname without a "." in it (such as "localhost")
0ad489b182ebb3789322345e22cf750f88ae167and would not trigger an IP address check with ProxyBlock.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Fixed ProxyBlock bugs with ap_proxy_http_handler() and
0ad489b182ebb3789322345e22cf750f88ae167and ap_proxy_connect_handler().
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Updated ap_proxy_connect_handler() to support APR, while
0ad489b182ebb3789322345e22cf750f88ae167and moving some common code between http_handler and connect_handler
0ad489b182ebb3789322345e22cf750f88ae167and to proxy_util.c.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Updated mod_proxy.html docs to include v2.0 configuration.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) Fixed problem where responses without entity bodies would cause
0ad489b182ebb3789322345e22cf750f88ae167and the directly following proxy keepalive request to fail.
0ad489b182ebb3789322345e22cf750f88ae167and [Graham Leggett <minfrin@sharp.fm>]
0ad489b182ebb3789322345e22cf750f88ae167and
0ad489b182ebb3789322345e22cf750f88ae167and *) 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 2.0.14 alpha
*) 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>]