That`s right! I almost forgot that.
-- Original --
From: "734819342";<734819...@qq.com>;
Send time: Wednesday, Apr 19, 2017 10:23 AM
To: "nginx-devel@nginx.org";
Subject: Re: crash in ngx_add_timer
Hi,
U should not call
Hi,
U should not call ngx_add_timer there, causengx_event_timer_rbtree is
initialized in [init process].
Ben
best regards
Original Message
Sender:Dk jackdnj0...@gmail.com
Recipient:nginx-devel@nginx.orgnginx-de...@nginx.org
Date:Wednesday, Apr 19, 2017
Hi,
The crash is happening at line:
ngx_add_timer(, 6);// line 81
i.e. when it's trying to insert the second time. It doesn't even get to the
handler.
What would be a good value to assign to ev->log? I added:
ev->log = cf->cycle->log
I am still getting the crash when I try to insert the
Hi,
At the first glance, the ev->log should be assigned a valid value.
-- Original --
From: "Dk Jack";;
Send time: Wednesday, Apr 19, 2017 8:23 AM
To: "nginx-devel";
Subject: Re: crash in ngx_add_timer
resending
resending since the attachment which had the code didn't make it...
Dk.
#include
#include
#include
#include
#include
static ngx_event_t ev1;
static ngx_event_t ev2;
static ngx_event_t ev3;
char ev1_data[] = "event1";
char ev2_data[] = "event2";
char ev3_data[] = "event3";
static
Hi,
I am new to NGinx modules and I trying to write an nginx module. I am
having an issue
where my module crashes when adding multiple timers. The first timer adds
fine.
However, when I go to add the second timer, it crashes. I've simplified the
code to a very
basic module (which is attached to
details: http://hg.nginx.org/nginx/rev/201038680680
branches:
changeset: 6984:201038680680
user: Sergey Kandaurov
date: Tue Apr 18 19:55:23 2017 +0300
description:
Sub filter: restored ngx_http_set_ctx() at the proper place.
Previously,
details: http://hg.nginx.org/nginx/rev/3518287d995e
branches:
changeset: 6983:3518287d995e
user: Sergey Kandaurov
date: Tue Apr 18 16:08:46 2017 +0300
description:
SSL: compatibility with OpenSSL master branch.
The SSL_CTRL_SET_CURVES_LIST macro is removed in the
details: http://hg.nginx.org/nginx/rev/08dc60979133
branches:
changeset: 6981:08dc60979133
user: Sergey Kandaurov
date: Tue Apr 18 15:12:38 2017 +0300
description:
SSL: added support for TLSv1.3 in ssl_protocols directive.
Support for the TLSv1.3 protocol will be
details: http://hg.nginx.org/nginx/rev/ac9b1df5b246
branches:
changeset: 6982:ac9b1df5b246
user: Sergey Kandaurov
date: Tue Apr 18 16:08:44 2017 +0300
description:
SSL: disabled renegotiation detection in client mode.
CVE-2009-3555 is no longer relevant and
details: http://hg.nginx.org/nginx/rev/dbb0c854e308
branches:
changeset: 6980:dbb0c854e308
user: Roman Arutyunyan
date: Tue Apr 11 16:41:53 2017 +0300
description:
Set UDP datagram source address (ticket #1239).
Previously, the source IP address of a response UDP
details: http://hg.nginx.org/nginx/rev/ef935cd7ed8d
branches:
changeset: 6979:ef935cd7ed8d
user: Sergey Kandaurov
date: Tue Apr 18 13:01:19 2017 +0300
description:
Core: removed extra ngx_alloc() and ngx_calloc() prototypes.
diffstat:
src/core/ngx_palloc.h | 3
12 matches
Mail list logo