diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-09-28 16:36:12 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-09-28 16:36:12 +0100 |
commit | 15aaf9446b9c50e5c5f18307ef39d3ae9ab25f6b (patch) | |
tree | 1e5f939681c1ef6d401eae35691d8ba8bace92b1 /net/websocket | |
parent | e7f545bae6bdf4d8d7d4753e61783b952df936fd (diff) | |
download | prosody-15aaf9446b9c50e5c5f18307ef39d3ae9ab25f6b.tar.gz prosody-15aaf9446b9c50e5c5f18307ef39d3ae9ab25f6b.zip |
mod_websocket: Continue to process data already in the buffer after an error occurs
Previously any error, or even a normal websocket close frame, would return early,
leaving potentially entire frames in the buffer unprocessed and then discarded.
This change stops processing new data, but returns an existing processed data up
to the point of the error/close.
Diffstat (limited to 'net/websocket')
0 files changed, 0 insertions, 0 deletions