diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2020-10-13 14:57:33 +0200 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2020-10-13 14:57:33 +0200 |
commit | b95d67aefbfc7df9f309b9c39bfbaea4b614bb6b (patch) | |
tree | b5e40918342b9546d1faa3f9e271aa507b8f9303 /src/mod_muc_admin.erl | |
parent | Make mod_muc_admin command work correctly with hibernated rooms (diff) |
Make websocket send put back pressure on c2s process
Previously c2s was free to generate data to send in unlimited manner, and
just generate queue of messages that are waiting to be send. This could lead to
hitting timouts in stream management ack handling (if c2s generate lot of
packages, after which <r> request was sent, client could even not receive it
before timeout was triggered on server waiting for corresponding <a>).
This changes makes c2s process wait for data being sent to tcp socket
associated with websocket connection, which should help with this problem.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions