Mercurial > hg > nginx-quic
view src/os/unix/ngx_linux.h @ 8972:b809f53d3f5b
Process events posted by ngx_close_idle_connections() immediately.
Previously, if an event was posted by a read event handler, called by
ngx_close_idle_connections(), that event was not processed until the next
event loop iteration, which could happen after a timeout.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Fri, 18 Nov 2022 19:31:38 +0400 |
parents | adba26ff70b5 |
children |
line wrap: on
line source
/* * Copyright (C) Igor Sysoev * Copyright (C) Nginx, Inc. */ #ifndef _NGX_LINUX_H_INCLUDED_ #define _NGX_LINUX_H_INCLUDED_ ngx_chain_t *ngx_linux_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit); #endif /* _NGX_LINUX_H_INCLUDED_ */