CHANGES revision c1635d9f723f28fed4b95e5d9693e554a79e8d77
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updatermod_proxy changes for httpd 2.0.18-dev
7a2a1b8b14fc804ac80612d7b98064095e445be5Automatic Updater
7a42357217528037bdfedcb17eeebfe96ae4266aAutomatic Updater *) Get PORT working again in the ftp proxy.
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater [Victor Orlikowski <v.j.orlikowski@gte.net>]
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater *) Return result code check for FTP QUIT, after fixing
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater problems with passive connection handling.
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater [Victor Orlikowski <v.j.orlikowski@gte.net>]
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater *) Reorganize ap_proxy_string_read() internally to not process eos
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington buckets.
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews [Chuck Murcko <chuck@topsail.org>]
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater [Victor Orlikowski <v.j.orlikowski@gte.net>]
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater *) Remove result code check for FTP QUIT command. Some servers send
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater nothing at all back in response to QUIT.
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater [Chuck Murcko <chuck@topsail.org>]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [Victor Orlikowski <v.j.orlikowski@gte.net>]
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater *) Reverse previous patch since the core reverted.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [Chuck Murcko <chuck@topsail.org>]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater *) Remove indirection on number of bytes to read for input filters.
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater [Chuck Murcko <chuck@topsail.org>]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Fixed a problem with directory listing corruption in the
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews PROXY_DIR filter.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) mod_proxy and the proxy submodules now build properly as DSOs.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Stopped the HTTP proxy from trying to read entity bodies when there
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater wasn't one (response was 1xx, 204, 205 or 304).
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater *) Made sure dates were canonicalised correctly when passed to the client
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater browser through the HTTP proxy.
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt [Graham Leggett <minfrin@sharp.fm>]
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater *) Split each individual proxy protocol into separate modules.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater *) Added Max-Forwards support for all request types so as to prevent
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater loops.
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt [Graham Leggett <minfrin@sharp.fm>]
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater *) Fix warnings about byte count type on Darwin (connect handler).
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater [Chuck Murcko <chuck@topsail.org>]
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater *) IPV6 EPSV support for IPV6 in FTP proxy.
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater *) FTP directory filter works now.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater *) Fixed some thread-safety issues with the HTTP proxy in mod_proxy.
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews [Graham Leggett <minfrin@sharp.fm>]
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews *) PASV FTP works now.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington [Graham Leggett <minfrin@sharp.fm>]
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews *) Reworked the line-at-a-time read from the control connection to
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater workaround a stray empty bucket returned by the HTTP_IN filter.
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater *) Stopped the CORE filter from sending off an HTTP response when a
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews CONNECT tunnel was closed.
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews *) Fixed the poll() loop in proxy_connect.c -> it works now!!!
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater *) Converted send_dir() to ap_proxy_send_dir_filter() in proxy_ftp.c.
693c4232dfdffaff672197d4b9fea944c64cf80aAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Major rework of ap_proxy_ftp_handler() to use filters (begone foul
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson BUFF!!!). It compiles, but is untested, and the build environment needs
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater to be fixed to include proxy_ftp.c.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Cleanup of dead functions within proxy_util.c.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson [Graham Leggett <minfrin@sharp.fm>]
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Reworked the storage of the client socket between keepalive connections
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson to fix some nasty problems with the socket lasting longer than the
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater memory pool it was allocated from.
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews *) Fixed bug where a hostname without a "." in it (such as "localhost")
11af78f7dc35741bdab68dbab11b03daab005b28Automatic Updater would not trigger an IP address check with ProxyBlock.
11af78f7dc35741bdab68dbab11b03daab005b28Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont *) Fixed ProxyBlock bugs with ap_proxy_http_handler() and
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater ap_proxy_connect_handler().
8ccd7da886e93cd490fcb6f4c4e98a6514f35820Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews *) Updated ap_proxy_connect_handler() to support APR, while
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater moving some common code between http_handler and connect_handler
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updater to proxy_util.c.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews [Graham Leggett <minfrin@sharp.fm>]
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic Updater *) Updated mod_proxy.html docs to include v2.0 configuration.
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews *) Fixed problem where responses without entity bodies would cause
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updater the directly following proxy keepalive request to fail.
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews *) Added support for downstream keepalives in mod_proxy.
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews *) Changed mod_proxy ap_proxy_http_handler() to support APR properly.
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic Updater
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Fix problem where incoming response headers were not being returned
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater to the client in mod_proxy.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Added X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Server to
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater reverse proxied request headers in mod_proxy.
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) replace INADDR_NONE with APR_INADDR_NONE [Ian Holsman <IanH@cnet.com>]
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater *) Fix problem with proxy configuration where globally set
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrews configuration options were overridden inside virtual hosts.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson [Graham Leggett <minfrin@sharp.fm>]
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater *) Fix ProxyReceiveBufferSize where default value was left
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater uninitialised.
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updater [Graham Leggett <minfrin@sharp.fm>]
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updater
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updater *) Some small changes:
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater - Ensured hop-by-hop headers were stripped as per
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson RFC2616 13.5.1.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater - Upgraded version code to HTTP/1.1.
4104e236f71eb5108fcfda6711878a97f6f4a8e7Automatic Updater - Added Connection: close until Keepalives come.
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater - Some cosmetic fixes and commenting.
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater [Graham Leggett <minfrin@sharp.fm>]
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updater
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updatermod_proxy changes for 2.0.14 alpha
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater
f132a836c4e386b1af045dd8fe7106ae61b90bffAutomatic Updater *) removed ProxyNoCache and ProxyCacheForceCompletion config directives,
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updater since we no longer directly cache from this module
c6a0f4ae1d7183a16ffb196b86b647f870694796Automatic Updater [Chuck Murcko <chuck@topsail.org>]
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updater
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater *) removed cache
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updater [Chuck Murcko <chuck@topsail.org>]
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater *) initial rerebuild for 2.0
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updater [Chuck Murcko <chuck@topsail.org>]
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
8f2c45a35dd8c40bcc9caba8f7d40ce64fc27bcdAutomatic Updater