Skip to content

Commit

Permalink
Changes with nginx 1.1.10 30 Nov 2011
Browse files Browse the repository at this point in the history
*) Bugfix: a segmentation fault occured in a worker process if AIO was
used on Linux; the bug had appeared in 1.1.9.

Maxim Dounin

_______________________________________________
nginx-announce mailing list
nginx-announce@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-announce
  • Loading branch information
igorsysoev authored and kolbyjack committed Nov 30, 2011
1 parent 7989e17 commit 56831c2
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGES
@@ -1,4 +1,10 @@

Changes with nginx 1.1.10 30 Nov 2011

*) Bugfix: a segmentation fault occured in a worker process if AIO was
used on Linux; the bug had appeared in 1.1.9.


Changes with nginx 1.1.9 28 Nov 2011

*) Change: now double quotes are encoded in an "echo" SSI-command
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.ru
@@ -1,4 +1,10 @@

Изменения в nginx 1.1.10 30.11.2011

*) Исправление: при использовании AIO на Linux в рабочем процессе
происходил segmentation fault; ошибка появилась в 1.1.9.


Изменения в nginx 1.1.9 28.11.2011

*) Изменение: теперь двойные кавычки экранируется при выводе
Expand Down
4 changes: 2 additions & 2 deletions src/core/nginx.h
Expand Up @@ -8,8 +8,8 @@
#define _NGINX_H_INCLUDED_


#define nginx_version 1001009
#define NGINX_VERSION "1.1.9"
#define nginx_version 1001010
#define NGINX_VERSION "1.1.10"
#define NGINX_VER "nginx/" NGINX_VERSION

#define NGINX_VAR "NGINX"
Expand Down
20 changes: 10 additions & 10 deletions src/event/modules/ngx_epoll_module.c
Expand Up @@ -681,19 +681,19 @@ ngx_epoll_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, ngx_uint_t flags)

wev = c->write;

if (c->fd == -1 || wev->instance != instance) {
if ((revents & EPOLLOUT) && wev->active) {

/*
* the stale event from a file descriptor
* that was just closed in this iteration
*/
if (c->fd == -1 || wev->instance != instance) {

ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
"epoll: stale event %p", c);
continue;
}
/*
* the stale event from a file descriptor
* that was just closed in this iteration
*/

if ((revents & EPOLLOUT) && wev->active) {
ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
"epoll: stale event %p", c);
continue;
}

if (flags & NGX_POST_THREAD_EVENTS) {
wev->posted_ready = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/http/modules/perl/nginx.pm
Expand Up @@ -48,7 +48,7 @@ our @EXPORT = qw(
HTTP_INSUFFICIENT_STORAGE
);

our $VERSION = '1.1.9';
our $VERSION = '1.1.10';

require XSLoader;
XSLoader::load('nginx', $VERSION);
Expand Down

0 comments on commit 56831c2

Please sign in to comment.