Re: Websockets IO sync

2014-11-21 Thread Konstantin Kolinko
2014-11-22 0:28 GMT+03:00 Konstantin Kolinko : > 2014-11-21 17:57 GMT+03:00 Rémy Maucherat : >> Hi, >> >> I noticed read notifications for websockets are synced (connectionReadLock >> in WsFrameBase) > > Correction: I suppose that you meant connectionReadLock in WsFrameServer > > (That is the onl

Re: Websockets IO sync

2014-11-21 Thread Konstantin Kolinko
2014-11-21 17:57 GMT+03:00 Rémy Maucherat : > Hi, > > I noticed read notifications for websockets are synced (connectionReadLock > in WsFrameBase) Correction: I suppose that you meant connectionReadLock in WsFrameServer (That is the only place where such name is used in o.a.tomcat.websocket cla

Websockets IO sync

2014-11-21 Thread Rémy Maucherat
Hi, I noticed read notifications for websockets are synced (connectionReadLock in WsFrameBase) although the only way it is called is through the read notification of the upgraded stream. Which means I don't see how any concurrency can occur. However, writes are not synced (the equivalent sync wou