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-15 21:14:50 +0100 |
commit | a66cd9a0f380b26ac4ba4b329052822d7d2e8e53 (patch) | |
tree | 905ef6080189418cd467dcc9f32428afc5e62bd5 /test/perl/header_pairs/psgi.pl | |
parent | 6a8081d71e805b12d0f7fd32ce72d60babadfc85 (diff) | |
download | unit-a66cd9a0f380b26ac4ba4b329052822d7d2e8e53.tar.gz unit-a66cd9a0f380b26ac4ba4b329052822d7d2e8e53.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 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 'test/perl/header_pairs/psgi.pl')
0 files changed, 0 insertions, 0 deletions