On 11/03/2015 06:19, Keiichi Fujino wrote:
> 2015-03-11 7:35 GMT+09:00 <ma...@apache.org>:
> 
>> Author: markt
>> Date: Tue Mar 10 22:35:19 2015
>> New Revision: 1665736
>>
>> URL: http://svn.apache.org/r1665736
>> Log:
>> Stop re-using the SocketWrapper
>> With the introduction of upgrade and non-blocking, I/O can occur on
>> non-container threads. This makes it near impossible to track whether a
>> SocketWrapper (== connection) is still referenced or not, making re-use a
>> risky proposition.

<snip/>

> I think this fix causes NPE.

Quite possibly.

> Do we need initialization of poller and socketBufferHandler in
> SocketWrapper?

Again, quite possibly.

I have been focussed on the crashing test case and this change didn't
break that (neither did it fix it). I haven't even done a basic smoke
test of these changes yet. What is the simplest way to reproduce this?

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to