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 | 71256641f4f1603b9c70af0aec010fa98923e7a4 (patch) | |
tree | 1e5f939681c1ef6d401eae35691d8ba8bace92b1 /plugins/mod_carbons.lua | |
parent | 364146dbb1d8b8facf1bc02b336f9ce38c1b4746 (diff) | |
download | prosody-71256641f4f1603b9c70af0aec010fa98923e7a4.tar.gz prosody-71256641f4f1603b9c70af0aec010fa98923e7a4.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 'plugins/mod_carbons.lua')
0 files changed, 0 insertions, 0 deletions