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 would be in
WsRemoteEndpointImplServer.onWritePossible) although there I believe there
can be some concurrency. Similarly, the buffers field and the individual
buffers could be at risk but it seems less likely.

Did I miss something ?

Rémy

Reply via email to