comparison src/core/ngx_connection.h @ 7007:ed1101bbf19f

Introduced ngx_tcp_nodelay().
author Ruslan Ermilov <ru@nginx.com>
date Fri, 26 May 2017 22:52:48 +0300
parents e38e9c50a40e
children d27aa9060c95
comparison
equal deleted inserted replaced
7006:9552758a786e 7007:ed1101bbf19f
212 void ngx_close_listening_sockets(ngx_cycle_t *cycle); 212 void ngx_close_listening_sockets(ngx_cycle_t *cycle);
213 void ngx_close_connection(ngx_connection_t *c); 213 void ngx_close_connection(ngx_connection_t *c);
214 void ngx_close_idle_connections(ngx_cycle_t *cycle); 214 void ngx_close_idle_connections(ngx_cycle_t *cycle);
215 ngx_int_t ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s, 215 ngx_int_t ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
216 ngx_uint_t port); 216 ngx_uint_t port);
217 ngx_int_t ngx_tcp_nodelay(ngx_connection_t *c);
217 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text); 218 ngx_int_t ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text);
218 219
219 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log); 220 ngx_connection_t *ngx_get_connection(ngx_socket_t s, ngx_log_t *log);
220 void ngx_free_connection(ngx_connection_t *c); 221 void ngx_free_connection(ngx_connection_t *c);
221 222