CHANGES revision 90ad571a3ddd07e9b96f06b6b425295e1ec93da0
d7759bdad133e1e92fe41aab75dd8c1584eda38cjimmod_proxy changes for httpd 2.0.23-dev
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim *) break the proxy_http_handler into multiple smaller functions.
4e191199a0aeab09d78df8f5579e745572e8b7bcwsanchez [John Barbee <barbee@veribox.net>]
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim
4e191199a0aeab09d78df8f5579e745572e8b7bcwsanchez *) Fix the proxy when the origin server sends back a 100
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim Continue response. [John Barbee <barbee@veribox.net>]
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim *) Change 'readbytes' from apr_size_t to apr_off_t due to change
d7759bdad133e1e92fe41aab75dd8c1584eda38cjim in ap_get_brigade's parameters [John Barbee <barbee@veribox.net>]
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianhmod_proxy changes for httpd 2.0.20-dev
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh *) Timeout added for backend connections.
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh [Victor Orlikowski <v.j.orlikowski@gte.net>]
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh *) Fix abort code path in proxy_http.c, similar to FTP fix.
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh [Chuck Murcko <chuck@topsail.org>]
b3155b9e3b06b20030ec6c16d98f8dabf12ead9cianh
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh *) Fix FTP ABOR command execution path.
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh [Victor Orlikowski <v.j.orlikowski@gte.net>]
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh *) FTP return code variable cleanup; fixed problem in login
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh [Chuck Murcko <chuck@topsail.org>]
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh *) Get PORT working again in the ftp proxy.
ff1234e45aca1b8171d711ecb87f58b9d9100a99ianh [Victor Orlikowski <v.j.orlikowski@gte.net>]
b999f6ba2a266bf9a92687f31bb7e76021ac5891ianh
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe *) Return result code check for FTP QUIT, after fixing
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe problems with passive connection handling.
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe [Victor Orlikowski <v.j.orlikowski@gte.net>]
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe *) Reorganize ap_proxy_string_read() internally to not process eos
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe buckets.
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe [Chuck Murcko <chuck@topsail.org>]
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe [Victor Orlikowski <v.j.orlikowski@gte.net>]
b999f6ba2a266bf9a92687f31bb7e76021ac5891ianh
2ceedfca3a2fdfdb5ff60ca17f030ce91f6331cbwrowe *) Remove result code check for FTP QUIT command. Some servers send
b999f6ba2a266bf9a92687f31bb7e76021ac5891ianh nothing at all back in response to QUIT.
7d7931c1f4d46b041ad2ad6fdb9499289063611eianh [Chuck Murcko <chuck@topsail.org>]
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb [Victor Orlikowski <v.j.orlikowski@gte.net>]
b9b69856aec9ea58ea1b1e5aff669e8eaf2ebce4rbb
b9b69856aec9ea58ea1b1e5aff669e8eaf2ebce4rbbmod_proxy changes for httpd 2.0.19
b9b69856aec9ea58ea1b1e5aff669e8eaf2ebce4rbb
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb *) Reverse previous patch since the core reverted.
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb [Chuck Murcko <chuck@topsail.org>]
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb
7d7931c1f4d46b041ad2ad6fdb9499289063611eianh *) Remove indirection on number of bytes to read for input filters.
1f3a44f2fd7f9fee00b80c7ddcf1028ea145f91drbb [Chuck Murcko <chuck@topsail.org>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck *) Fixed a problem with directory listing corruption in the
43ea154f46345c9722c2b25b2b9f5086ec79eaeeorlikowski PROXY_DIR filter.
43ea154f46345c9722c2b25b2b9f5086ec79eaeeorlikowski [Graham Leggett <minfrin@sharp.fm>]
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck *) mod_proxy and the proxy submodules now build properly as DSOs.
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck [Graham Leggett <minfrin@sharp.fm>]
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck *) Stopped the HTTP proxy from trying to read entity bodies when there
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck wasn't one (response was 1xx, 204, 205 or 304).
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
53c2eb831bfe47860e3f5ec9190b15cb92f15181chuck
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck *) Made sure dates were canonicalised correctly when passed to the client
53c2eb831bfe47860e3f5ec9190b15cb92f15181chuck browser through the HTTP proxy.
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski [Graham Leggett <minfrin@sharp.fm>]
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski *) Split each individual proxy protocol into separate modules.
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski [Graham Leggett <minfrin@sharp.fm>]
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski *) Added Max-Forwards support for all request types so as to prevent
c1635d9f723f28fed4b95e5d9693e554a79e8d77orlikowski loops.
4f7dd0949d92462a8adc31eee8aff266eea55204chuck [Graham Leggett <minfrin@sharp.fm>]
4f7dd0949d92462a8adc31eee8aff266eea55204chuck
4f7dd0949d92462a8adc31eee8aff266eea55204chuck *) Fix warnings about byte count type on Darwin (connect handler).
4f7dd0949d92462a8adc31eee8aff266eea55204chuck [Chuck Murcko <chuck@topsail.org>]
4f7dd0949d92462a8adc31eee8aff266eea55204chuck
75b3ed55173b29dbdf9e2fb6ec5462bfceee21aechuckmod_proxy changes for httpd 2.0.18
75b3ed55173b29dbdf9e2fb6ec5462bfceee21aechuck
75b3ed55173b29dbdf9e2fb6ec5462bfceee21aechuck *) IPV6 EPSV support for IPV6 in FTP proxy.
4f7dd0949d92462a8adc31eee8aff266eea55204chuck [Graham Leggett <minfrin@sharp.fm>]
75b3ed55173b29dbdf9e2fb6ec5462bfceee21aechuck
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck *) FTP directory filter works now.
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fixed some thread-safety issues with the HTTP proxy in mod_proxy.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) PASV FTP works now.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Reworked the line-at-a-time read from the control connection to
68bcde9c52e9e749482df2800dbdff09559115e0chuck workaround a stray empty bucket returned by the HTTP_IN filter.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Stopped the CORE filter from sending off an HTTP response when a
68bcde9c52e9e749482df2800dbdff09559115e0chuck CONNECT tunnel was closed.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fixed the poll() loop in proxy_connect.c -> it works now!!!
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Converted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuckmod_proxy changes for httpd 2.0.17
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Major rework of ap_proxy_ftp_handler() to use filters (begone foul
68bcde9c52e9e749482df2800dbdff09559115e0chuck BUFF!!!). It compiles, but is untested, and the build environment needs
68bcde9c52e9e749482df2800dbdff09559115e0chuck to be fixed to include proxy_ftp.c.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Cleanup of dead functions within proxy_util.c.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck *) Reworked the storage of the client socket between keepalive connections
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck to fix some nasty problems with the socket lasting longer than the
68bcde9c52e9e749482df2800dbdff09559115e0chuck memory pool it was allocated from.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fixed bug where a hostname without a "." in it (such as "localhost")
68bcde9c52e9e749482df2800dbdff09559115e0chuck would not trigger an IP address check with ProxyBlock.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuckmod_proxy changes for httpd 2.0.16
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fixed ProxyBlock bugs with ap_proxy_http_handler() and
68bcde9c52e9e749482df2800dbdff09559115e0chuck ap_proxy_connect_handler().
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Updated ap_proxy_connect_handler() to support APR, while
68bcde9c52e9e749482df2800dbdff09559115e0chuck moving some common code between http_handler and connect_handler
68bcde9c52e9e749482df2800dbdff09559115e0chuck to proxy_util.c.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Updated mod_proxy.html docs to include v2.0 configuration.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fixed problem where responses without entity bodies would cause
68bcde9c52e9e749482df2800dbdff09559115e0chuck the directly following proxy keepalive request to fail.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuckmod_proxy changes for httpd 2.0.15
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck *) Added support for downstream keepalives in mod_proxy.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Changed mod_proxy ap_proxy_http_handler() to support APR properly.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fix problem where incoming response headers were not being returned
68bcde9c52e9e749482df2800dbdff09559115e0chuck to the client in mod_proxy.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Added X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server to
68bcde9c52e9e749482df2800dbdff09559115e0chuck reverse proxied request headers in mod_proxy.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) replace INADDR_NONE with APR_INADDR_NONE [Ian Holsman <IanH@cnet.com>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fix problem with proxy configuration where globally set
68bcde9c52e9e749482df2800dbdff09559115e0chuck configuration options were overridden inside virtual hosts.
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck [Graham Leggett <minfrin@sharp.fm>]
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Fix ProxyReceiveBufferSize where default value was left
68bcde9c52e9e749482df2800dbdff09559115e0chuck uninitialised.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) Some small changes:
68bcde9c52e9e749482df2800dbdff09559115e0chuck - Ensured hop-by-hop headers were stripped as per
68bcde9c52e9e749482df2800dbdff09559115e0chuck RFC2616 13.5.1.
68bcde9c52e9e749482df2800dbdff09559115e0chuck - Upgraded version code to HTTP/1.1.
68bcde9c52e9e749482df2800dbdff09559115e0chuck - Added Connection: close until Keepalives come.
68bcde9c52e9e749482df2800dbdff09559115e0chuck - Some cosmetic fixes and commenting.
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Graham Leggett <minfrin@sharp.fm>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuckmod_proxy changes for httpd 2.0.14
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) removed ProxyNoCache and ProxyCacheForceCompletion config directives,
68bcde9c52e9e749482df2800dbdff09559115e0chuck since we no longer directly cache from this module
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck [Chuck Murcko <chuck@topsail.org>]
0c233c76f21b358f4a0d81e0f956339ca727c14cchuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) removed cache
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Chuck Murcko <chuck@topsail.org>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck *) initial rerebuild for 2.0
68bcde9c52e9e749482df2800dbdff09559115e0chuck [Chuck Murcko <chuck@topsail.org>]
68bcde9c52e9e749482df2800dbdff09559115e0chuck
68bcde9c52e9e749482df2800dbdff09559115e0chuck