ASF Bugzilla – Attachment 30514 Details for
Bug 55177
connectionTimeout=-1 causes high CPU
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
fix
patch.txt (text/plain), 711 bytes, created by
Nick Bunn
on 2013-07-01 19:49:21 UTC
(
hide
)
Description:
fix
Filename:
MIME Type:
Creator:
Nick Bunn
Created:
2013-07-01 19:49:21 UTC
Size:
711 bytes
patch
obsolete
>Index: java/org/apache/coyote/http11/Http11Processor.java >=================================================================== >--- java/org/apache/coyote/http11/Http11Processor.java (revision 1498620) >+++ java/org/apache/coyote/http11/Http11Processor.java (working copy) >@@ -163,7 +163,10 @@ > } > // Once the first byte has been read, the standard timeout should be > // used so restore it here. >- socket.getSocket().setSoTimeout(endpoint.getSoTimeout()); >+ if(endpoint.getSoTimeout() > 0) >+ socket.getSocket().setSoTimeout(endpoint.getSoTimeout()); >+ else >+ socket.getSocket().setSoTimeout(0); > } > } >
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 Raw
Actions:
View
Attachments on
bug 55177
: 30514