ASF Bugzilla – Attachment 27438 Details for
Bug 50394
InternalAprInputBuffer.fill() doesn't deal correctly with EOF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
2011-08-26_tc6_50394_InternalAprInputBuffer.patch
2011-08-26_tc6_50394_InternalAprInputBuffer.patch (text/plain), 768 bytes, created by
Konstantin Kolinko
on 2011-08-26 12:34:10 UTC
(
hide
)
Description:
2011-08-26_tc6_50394_InternalAprInputBuffer.patch
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2011-08-26 12:34:10 UTC
Size:
768 bytes
patch
obsolete
>Index: java/org/apache/coyote/http11/InternalAprInputBuffer.java >=================================================================== >--- java/org/apache/coyote/http11/InternalAprInputBuffer.java (revision 1162073) >+++ java/org/apache/coyote/http11/InternalAprInputBuffer.java (working copy) >@@ -794,6 +794,9 @@ > } else { > if ((-nRead) == Status.ETIMEDOUT || (-nRead) == Status.TIMEUP) { > throw new SocketTimeoutException(sm.getString("iib.failedread")); >+ } else if (nRead == 0) { >+ // APR_STATUS_IS_EOF, since native 1.1.22 >+ return false; > } else { > throw new IOException(sm.getString("iib.failedread")); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 50394
:
27437
| 27438