http: check longpoll websocket handling logic
Before one could submit as many operation as one wants to the websocket. In case of longpoll socket this lead to extra queue, which was not controlled by the user. Now each send operation is confirmed by callback. Only after such callback next send operation via websocket is allowed. Queue is organized externally (like in TWebWindow). For the longpoll engine this simplify internal logic and avoids queueing
Showing
- net/http/src/THttpLongPollEngine.cxx 86 additions, 61 deletionsnet/http/src/THttpLongPollEngine.cxx
- net/http/src/THttpLongPollEngine.h 10 additions, 15 deletionsnet/http/src/THttpLongPollEngine.h
- net/http/src/THttpWSEngine.cxx 2 additions, 4 deletionsnet/http/src/THttpWSEngine.cxx
- net/http/src/THttpWSEngine.h 2 additions, 2 deletionsnet/http/src/THttpWSEngine.h
- net/http/src/THttpWSHandler.cxx 11 additions, 17 deletionsnet/http/src/THttpWSHandler.cxx
Loading
Please register or sign in to comment