mirror of
https://github.com/nginx/nginx.git
synced 2024-12-21 01:27:48 +08:00
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.
This commit is contained in:
parent
a7a3a8cc17
commit
bd4a26c164
@ -935,12 +935,6 @@ ngx_send_lowat(ngx_connection_t *c, size_t lowat)
|
|||||||
{
|
{
|
||||||
int sndlowat;
|
int sndlowat;
|
||||||
|
|
||||||
#if (NGX_QUIC)
|
|
||||||
if (c->quic) {
|
|
||||||
return NGX_OK;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if (NGX_HAVE_LOWAT_EVENT)
|
#if (NGX_HAVE_LOWAT_EVENT)
|
||||||
|
|
||||||
if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) {
|
if (ngx_event_flags & NGX_USE_KQUEUE_EVENT) {
|
||||||
|
Loading…
Reference in New Issue
Block a user