https://issues.apache.org/bugzilla/show_bug.cgi?id=50481

--- Comment #9 from Costa Sapuntzakis <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to