mod_proxy changes for httpd 2.0.18-dev
+ *) Reorganize ap_proxy_string_read() internally to not process eos
+ buckets.
+ [Chuck Murcko <chuck@topsail.org>]
+ [Victor Orlikowski <v.j.orlikowski@gte.net>]
+
*) Remove result code check for FTP QUIT command. Some servers send
nothing at all back in response to QUIT.
[Chuck Murcko <chuck@topsail.org>]
+ [Victor Orlikowski <v.j.orlikowski@gte.net>]
*) Reverse previous patch since the core reverted.
[Chuck Murcko <chuck@topsail.org>]
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]
+ since we no longer directly cache from this module
+ [Chuck Murcko <chuck@topsail.org>]
- *) removed cache [Chuck Murcko]
+ *) removed cache
+ [Chuck Murcko <chuck@topsail.org>]
- *) initial rerebuild for 2.0 [Chuck Murcko]
+ *) initial rerebuild for 2.0
+ [Chuck Murcko <chuck@topsail.org>]
e = APR_BRIGADE_FIRST(bb);
if (APR_BUCKET_IS_EOS(e)) {
*eos = 1;
- continue;
- }
- if (APR_SUCCESS != apr_bucket_read(e, (const char **)&response, &len, APR_BLOCK_READ)) {
- return rv;
- }
+ }
+ else {
+ if (APR_SUCCESS != apr_bucket_read(e, (const char **)&response, &len, APR_BLOCK_READ)) {
+ return rv;
+ }
/* is string LF terminated? */
- if (memchr(response, APR_ASCII_LF, len)) {
- found = 1;
- }
- /* concat strings until buff is full - then throw the data away */
- if (len > ((bufflen-1)-(pos-buff))) {
- len = (bufflen-1)-(pos-buff);
- }
- if (len > 0) {
- pos = apr_cpystrn(pos, response, len);
+ if (memchr(response, APR_ASCII_LF, len)) {
+ found = 1;
+ }
+ /* concat strings until buff is full - then throw the data away */
+ if (len > ((bufflen-1)-(pos-buff))) {
+ len = (bufflen-1)-(pos-buff);
+ }
+ if (len > 0) {
+ pos = apr_cpystrn(pos, response, len);
+ }
}
APR_BUCKET_REMOVE(e);
apr_bucket_destroy(e);