aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_connection.h
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2017-05-26 22:52:48 +0300
committerRuslan Ermilov <ru@nginx.com>2017-05-26 22:52:48 +0300
commitb66c18d2d50c53b063cd14a2c3e4c8ff8b1b22a5 (patch)
treec61e02ac50d38621b454b9972fe42f72fc87f18f /src/core/ngx_connection.h
parent8644d9491ad3c0eb16bcda1d452aba326e1f4dae (diff)
downloadnginx-b66c18d2d50c53b063cd14a2c3e4c8ff8b1b22a5.tar.gz
nginx-b66c18d2d50c53b063cd14a2c3e4c8ff8b1b22a5.zip
Introduced ngx_tcp_nodelay().
Diffstat (limited to 'src/core/ngx_connection.h')
-rw-r--r--src/core/ngx_connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index 1d3e3a3a1..e4dfe5879 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -214,6 +214,7 @@ void ngx_close_connection(ngx_connection_t *c);
void ngx_close_idle_connections(ngx_cycle_t *cycle);
ngx_int_t ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
ngx_uint_t port);
+ngx_int_t ngx_tcp_nodelay(ngx_connection_t *c);
ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text);
ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log);