Mercurial > hg > nginx-vendor-1-0
annotate src/os/unix/ngx_channel.h @ 546:e19e5f542878 NGINX_0_8_25
nginx 0.8.25
*) Change: now no message is written in an error log if a variable is
not found by $r->variable() method.
*) Feature: the ngx_http_degradation_module.
*) Feature: regular expression named captures.
*) Feature: now URI part is not required a "proxy_pass" directive if
variables are used.
*) Feature: now the "msie_padding" directive works for Chrome too.
*) Bugfix: a segmentation fault occurred in a worker process on low
memory condition; the bug had appeared in 0.8.18.
*) Bugfix: nginx sent gzipped responses to clients those do not support
gzip, if "gzip_static on" and "gzip_vary off"; the bug had appeared
in 0.8.16.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 16 Nov 2009 00:00:00 +0300 |
parents | 45945fa8b8ba |
children | ad25218fd14b |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_CHANNEL_H_INCLUDED_ | |
8 #define _NGX_CHANNEL_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 #include <ngx_event.h> | |
14 | |
15 | |
16 typedef struct { | |
17 ngx_uint_t command; | |
18 ngx_pid_t pid; | |
19 ngx_int_t slot; | |
20 ngx_fd_t fd; | |
21 } ngx_channel_t; | |
22 | |
23 | |
24 ngx_int_t ngx_write_channel(ngx_socket_t s, ngx_channel_t *ch, size_t size, | |
92 | 25 ngx_log_t *log); |
0 | 26 ngx_int_t ngx_read_channel(ngx_socket_t s, ngx_channel_t *ch, size_t size, |
92 | 27 ngx_log_t *log); |
0 | 28 ngx_int_t ngx_add_channel_event(ngx_cycle_t *cycle, ngx_fd_t fd, |
92 | 29 ngx_int_t event, ngx_event_handler_pt handler); |
0 | 30 void ngx_close_channel(ngx_fd_t *fd, ngx_log_t *log); |
31 | |
32 | |
33 #endif /* _NGX_CHANNEL_H_INCLUDED_ */ |