tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50839] Closing connection on the client side (browser) during unfinished transmission result in 100% CPU slike for 30 sec during socket shutdownd in jk_connect.c
Date Sat, 21 May 2011 09:29:41 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50839

--- Comment #10 from Tim Whittington <timw@apache.org> 2011-05-21 09:29:41 UTC ---
After a hunt through the revisions between 1.2.30 and 1.2.31, it appears that
[1] introduced this bug.

The counter of bytes read on each attempt to read lingering bytes was not reset
in the loop after this change, resulting in the loop reading lingering bytes
not exiting normally if there were >= 512 lingering bytes to start with.
This also explains the total lingering byte count wrapping into negative
numbers.

I had already fixed this at the same time as introducing the lingering byte
limits.

[1] https://svn.apache.org/viewvc?view=revision&sortby=date&revision=998108

-- 
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


Mime
View raw message