httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50481] mod_proxy with SSLProxyEngine truncates files fetched with chunked encoding
Date Thu, 07 Apr 2011 01:38:53 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50481

--- Comment #9 from Costa Sapuntzakis <csapuntz@gmail.com> 2011-04-06 21:38:50 EDT ---
(In reply to comment #7)
> Proposed for backport as r1052212.

Thanks for the patch. Helped me out of a bind on a server I was using.

Here's another patch to consider for the problem. Should deal with the issues
brought up in comment 8. The patch is an alternative to the one in the mail. 
It also fixed the issue for me.

--- modules/ssl/ssl_engine_io.c 2011-04-06 18:28:48.000000000 -0700
+++ modules/ssl/ssl_engine_io.c 2011-04-06 18:28:48.000000000 -0700
@@ -741,7 +741,7 @@
         status = ssl_io_input_read(inctx, buf + offset, &tmplen);

         if (status != APR_SUCCESS) {
-            return status;
+            return (*len > 0) ? APR_SUCCESS : status;
         }

         *len += tmplen;

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message