https://issues.apache.org/bugzilla/show_bug.cgi?id=50481
Ruediger Pluem <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #2 from Ruediger Pluem <[email protected]> 2010-12-20 08:24:23 EST --- Thank you for the excellent report, analysis and test case. Can you please try if the following patch fixes your issue? Index: modules/ssl/ssl_engine_io.c =================================================================== --- modules/ssl/ssl_engine_io.c (revision 1051073) +++ modules/ssl/ssl_engine_io.c (working copy) @@ -749,6 +749,10 @@ status = ssl_io_input_read(inctx, buf + offset, &tmplen); if (status != APR_SUCCESS) { + if (APR_STATUS_IS_EAGAIN(status) && (*len > 0)) { + /* Safe the part of the line we already got */ + char_buffer_write(&inctx->cbuf, buf, *len); + } return status; } @@ -775,6 +779,10 @@ *len = bytes; } + else { + /* Safe the part of the line we already got */ + char_buffer_write(&inctx->cbuf, buf, *len); + } return APR_SUCCESS; } -- 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]
