Mercurial > hg > nginx-vendor-current
comparison src/event/modules/ngx_epoll_module.c @ 682:5cb5db9975ba NGINX_1_3_4
nginx 1.3.4
*) Change: the "ipv6only" parameter is now turned on by default for
listening IPv6 sockets.
*) Feature: the Clang compiler support.
*) Bugfix: extra listening sockets might be created.
Thanks to Roman Odaisky.
*) Bugfix: nginx/Windows might hog CPU if a worker process failed to
start.
Thanks to Ricardo Villalobos Guevara.
*) Bugfix: the "proxy_pass_header", "fastcgi_pass_header",
"scgi_pass_header", "uwsgi_pass_header", "proxy_hide_header",
"fastcgi_hide_header", "scgi_hide_header", and "uwsgi_hide_header"
directives might be inherited incorrectly.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 31 Jul 2012 00:00:00 +0400 |
parents | ad45b044f1e5 |
children |
comparison
equal
deleted
inserted
replaced
681:625501f84a6b | 682:5cb5db9975ba |
---|---|
42 struct epoll_event { | 42 struct epoll_event { |
43 uint32_t events; | 43 uint32_t events; |
44 epoll_data_t data; | 44 epoll_data_t data; |
45 }; | 45 }; |
46 | 46 |
47 | |
48 int epoll_create(int size); | |
49 | |
47 int epoll_create(int size) | 50 int epoll_create(int size) |
48 { | 51 { |
49 return -1; | 52 return -1; |
50 } | 53 } |
51 | 54 |
55 | |
56 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); | |
57 | |
52 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) | 58 int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event) |
53 { | 59 { |
54 return -1; | 60 return -1; |
55 } | 61 } |
62 | |
63 | |
64 int epoll_wait(int epfd, struct epoll_event *events, int nevents, int timeout); | |
56 | 65 |
57 int epoll_wait(int epfd, struct epoll_event *events, int nevents, int timeout) | 66 int epoll_wait(int epfd, struct epoll_event *events, int nevents, int timeout) |
58 { | 67 { |
59 return -1; | 68 return -1; |
60 } | 69 } |
73 uint64_t obj; /* what iocb this event came from */ | 82 uint64_t obj; /* what iocb this event came from */ |
74 int64_t res; /* result code for this event */ | 83 int64_t res; /* result code for this event */ |
75 int64_t res2; /* secondary result */ | 84 int64_t res2; /* secondary result */ |
76 }; | 85 }; |
77 | 86 |
78 | |
79 int eventfd(u_int initval) | |
80 { | |
81 return -1; | |
82 } | |
83 | 87 |
84 #endif | 88 #endif |
85 #endif | 89 #endif |
86 | 90 |
87 | 91 |