diff options
author | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:04:17 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2019-12-24 18:04:17 +0300 |
commit | 763bdff4018ec35de8383273d366160adebb6021 (patch) | |
tree | 69da5e8b14c436142a84717851edbd00d84b0575 /src/nodejs/unit-http/websocket_router_request.js | |
parent | df7caf465072e171f88358b9e69c65b76d8efd25 (diff) | |
download | unit-763bdff4018ec35de8383273d366160adebb6021.tar.gz unit-763bdff4018ec35de8383273d366160adebb6021.tar.bz2 |
Node.js: implementing output message drain using SHM_ACK feature.
ServerResponse.write() method tries to write data buffer using libunit
and stores buffers to write in a Server-wide output queue, which is
processed in response to SHM_ACK message from router.
As a side effect 'drain' event implemented and socket.writable flag
reflect current state.
Diffstat (limited to 'src/nodejs/unit-http/websocket_router_request.js')
0 files changed, 0 insertions, 0 deletions