You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/05/11 13:41:43 UTC

DO NOT REPLY [Bug 47237] Put a hard limit on Http11NioProcessor objects

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

William Leung <lw...@21cn.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

--- Comment #3 from William Leung <lw...@21cn.com> 2010-05-11 07:41:36 EDT ---
Some issue found after this patch applied:
http://svn.apache.org/viewvc?rev=783155&view=rev

please check this steps:
1. start tomcat with connector - Http11NIOProtocol
2. use a console, and type:
------------------------------------------------------------------------
[root@localhost ~]# telnet 127.0.0.1 8080
<Echo>  Trying 127.0.0.1...
<Echo>  Connected to localhost (127.0.0.1).
<Echo>  Escape character is '^]'.
<Input> GET /test HTTP/1.0
<Input> Host: test
<Echo>  Connection closed by foreign host.
------------------------------------------------------------------------
the server just close the socket, and nothing was logged


3. I try this on TC 6.0.20, and it's OK
   (Same result test for 6.0.26 with Http11Protocol)
------------------------------------------------------------------------
[root@localhost ~]# telnet 127.0.0.1 8080
<S Echo>  Trying 127.0.0.1...
<S Echo>  Connected to localhost (127.0.0.1).
<S Echo>  Escape character is '^]'.
<C Input> GET /test HTTP/1.0
<C Input> Host: test
<C Input>
<S Echo> HTTP/1.1 404 Not Found
<S Echo> Server: Apache-Coyote/1.1
<S Echo> Content-Type: text/html;charset=utf-8
<S Echo> Content-Length: 967
<S Echo> Date: Tue, 11 May 2010 11:23:11 GMT
<S Echo> Connection: close
<S Echo>
<S Echo> <html><head><title>Apache Tomcat/6.0.20 - Error report</title>
<S Echo> ... ... </body></html>Connection closed by foreign host.
------------------------------------------------------------------------

It seems that this changes in http://svn.apache.org/viewvc?rev=783155&view=rev
of Http11NioProtocol.java causes this problem.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org