aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-01-13 15:57:21 +0300
committerSergey Kandaurov <pluknet@nginx.com>2022-01-13 15:57:21 +0300
commitbd4a26c164bdc8a5707827915f4d16cd7ff35891 (patch)
treebc8aedde837cca663c8bfc609762958fa0742875 /src
parenta7a3a8cc1778fee8597b34ce5265453ceda81b08 (diff)
downloadnginx-bd4a26c164bdc8a5707827915f4d16cd7ff35891.tar.gz
nginx-bd4a26c164bdc8a5707827915f4d16cd7ff35891.zip
QUIC: removed ngx_send_lowat() check for QUIC connections.
After 9ae239d2547d, ngx_quic_handle_write_event() no longer runs into ngx_send_lowat() for QUIC connections, so the check became excessive. It is assumed that external modules operating with SO_SNDLOWAT (I'm not aware of any) should do this check on their own.
Diffstat (limited to 'src')
-rw-r--r--src/event/ngx_event.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c
index aa47ccf9f..5b246c015 100644
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -935,12 +935,6 @@ ngx_send_lowat(ngx_connection_t *c, size_t lowat)
{
int sndlowat;
-#if (NGX_QUIC)
- if (c->quic) {
- return NGX_OK;
- }
-#endif
-
#if (NGX_HAVE_LOWAT_EVENT)
if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) {