Hi.
I can't find out why Nginx calling ngx_http_free_request function after
ngx_add_timer , if I'm not calling ngx_http_finalize_request
or something relevant ?
Should I do something to keep request in memory ?
Thanks.
2015-02-22 1:28 GMT+04:00 Tigran Bayburtsyan :
> Ok I sow that code during d
Ok I sow that code during debugging Nginx request , but why my request is
freeing if I'm not calling ngx_http_finalize_request ?
What should I do to keep my request alive ?
Thanks.
2015-02-22 1:23 GMT+04:00 tommy watson :
> My money is on your request has been cleaned up in ngx_http_free_request
My money is on your request has been cleaned up in ngx_http_free_request():
https://github.com/nginx/nginx/blob/master/src/http/ngx_http_request.c#L3493
On Sat, Feb 21, 2015 at 3:19 PM, Tigran Bayburtsyan <
tigran.bayburts...@gmail.com> wrote:
> No this time I'm trying to do it with separate pro
No this time I'm trying to do it with separate process by just sharing
memory between Nginx worker and my 3rd party excusable...
I'm making ngx_timer to send data when it will be received from shared
memory.
It works fine, but I can't figure out why my r->pool is null ?
I'm using Nginx 1.7 versio
Tigran,
are you still using fork() ? As you describe here:
http://mailman.nginx.org/pipermail/nginx-devel/2015-February/006554.html
If so, as already explained, the other process is probably closing your
request.
Cheers.
On Sat, Feb 21, 2015 at 2:55 PM, Tigran Bayburtsyan <
tigran.bayburts..
Hi All.
I've created a function for adding my custom ngx_timer , but after 1st time
loop my r->pool is setting to NULL , also it sets NULL my
r->connection->log, and after second loop it throws exception on *ngx_palloc
*because my r->pool is NULL.
I can't find out why, here is my function
*void