ASF Bugzilla – Attachment 23684 Details for
Bug 46985
Impossible condition in coyote.http11.Http11Processor.process(Socket socket)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to correct Javadoc and remove dead code. It is for tc6.0.x.
Http11Processor_bug46985.patch (text/plain), 1.53 KB, created by
Konstantin Kolinko
on 2009-05-18 15:25:19 UTC
(
hide
)
Description:
Patch to correct Javadoc and remove dead code. It is for tc6.0.x.
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2009-05-18 15:25:19 UTC
Size:
1.53 KB
patch
obsolete
>Index: org/apache/coyote/http11/Http11Processor.java >=================================================================== >--- org/apache/coyote/http11/Http11Processor.java (revision 776003) >+++ org/apache/coyote/http11/Http11Processor.java (working copy) >@@ -742,12 +742,10 @@ > } > > /** >- * Process pipelined HTTP requests using the specified input and output >- * streams. >+ * Process pipelined HTTP requests on the specified socket. > * >- * @param input stream from which the HTTP requests will be read >- * @param output stream which will be used to output the HTTP >- * responses >+ * @param socket socket from which the HTTP requests will be read >+ * and the HTTP responses will be written > * @throws IOException error during an I/O operation > */ > public void process(Socket socket) >@@ -774,7 +772,6 @@ > > int keepAliveLeft = maxKeepAliveRequests; > int soTimeout = socket.getSoTimeout(); >- int oldSoTimeout = soTimeout; > > int threadRatio = (endpoint.getCurrentThreadsBusy() * 100) > / endpoint.getMaxThreads(); >@@ -782,15 +779,6 @@ > keepAliveLeft = 1; > } > >- if (soTimeout != oldSoTimeout) { >- try { >- socket.setSoTimeout(soTimeout); >- } catch (Throwable t) { >- log.debug(sm.getString("http11processor.socket.timeout"), t); >- error = true; >- } >- } >- > boolean keptAlive = false; > > while (started && !error && keepAlive) {
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 46985
: 23684