diff options
| author | Andrew Clayton <andrew@digital-domain.net> | 2022-06-14 17:14:01 +0100 |
|---|---|---|
| committer | Andrew Clayton <andrew@digital-domain.net> | 2022-06-23 19:51:46 +0100 |
| commit | 1a5288a9e2bf83414d601ca5e086eedeef164da4 (patch) | |
| tree | 534a92107a17f56c8e3def91ba433b0d74b5c81e /src/nodejs/unit-http/websocket_connection.js | |
| parent | 63667e2f9c571ad4357a30e42b321bec6a97ee89 (diff) | |
| download | unit-1a5288a9e2bf83414d601ca5e086eedeef164da4.tar.gz unit-1a5288a9e2bf83414d601ca5e086eedeef164da4.tar.bz2 | |
Port: removed useless msg->cancelled == 0 checks.
In src/nxt_port_socket.c::nxt_port_read_msg_process() msg->cancelled is
set to 0 and is not touched again.
However there are several checks for it being == 0 which are _always_
true, so remove them.
I'm assuming that this is functioning as intended and that setting
msg->cancelled to 0 is correct.
msg->cancelled was set to 0 unconditionally in commit e227fc9
("Introducing application and port shared memory queues."), so I guess
the now redundant checks were simply missed for removal.
Diffstat (limited to 'src/nodejs/unit-http/websocket_connection.js')
0 files changed, 0 insertions, 0 deletions
