websocketpp
websocketpp copied to clipboard
pause_reading terminates a connection when using asio
the pause_reading
intended for flow control maybe broken in asio mode.
client server
------1----> ok
pause_reading ok
------2----> ok since the read is queued already
------3----> err, connection is reset in client side but remains normal in server side
resume_reading err, bad connection in server side
I have tried the pause_reading
in test/transport/integration.cpp
which passed as expectation, so I am not sure if it is related to asio or something else, any help is apprecated!