changeset 8965:c31d95fdaf65 quic

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.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 13 Jan 2022 15:57:21 +0300
parents ad67fcc30567
children 6f8253673669
files src/event/ngx_event.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -935,12 +935,6 @@ ngx_send_lowat(ngx_connection_t *c, size
 {
     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) {