Re: crash in ngx_add_timer

2017-04-18 Thread 胡聪 (hucc)
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

Re: crash in ngx_add_timer

2017-04-18 Thread 734819342
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 

Re: crash in ngx_add_timer

2017-04-18 Thread Dk Jack
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

Re: crash in ngx_add_timer

2017-04-18 Thread 胡聪 (hucc)
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

Re: crash in ngx_add_timer

2017-04-18 Thread Dk Jack
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

crash in ngx_add_timer

2017-04-18 Thread Dk Jack
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

Re: Nginx as a Proxy for WSUS static caching not working

2017-04-18 Thread nnvc
Dear good afternoon I'm going through the same situation. Did you solve it? thank's Posted at Nginx Forum: https://forum.nginx.org/read.php?2,220614,273712#msg-273712 ___ nginx mailing list nginx@nginx.org

[nginx] Sub filter: restored ngx_http_set_ctx() at the proper place.

2017-04-18 Thread Sergey Kandaurov
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,

Re: Welcome to nginx on Debian!

2017-04-18 Thread shiz
/var/www/html/index.nginx-debian.html Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273701,273710#msg-273710 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

nginx-extras

2017-04-18 Thread Jeff Dyke
I realize this may not be the best place to ask, but thought someone may know. I am using nginx-extras which runs 1.10, for some very helpful lua functionality, and nginx stable just hit the apt repositories on 1.12, does anyone know how quickly nginx-extras may be updated to 1.12? I would like

[nginx] SSL: compatibility with OpenSSL master branch.

2017-04-18 Thread Sergey Kandaurov
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

[nginx] SSL: added support for TLSv1.3 in ssl_protocols directive.

2017-04-18 Thread Sergey Kandaurov
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

[nginx] SSL: disabled renegotiation detection in client mode.

2017-04-18 Thread Sergey Kandaurov
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

Re: listen unix socket - после перезагрузки Nginx - failed (98: Address already in use)

2017-04-18 Thread Konstantin Pavlov
Здравствуйте, On 17/04/2017 20:26, S.A.N wrote: > Maxim Dounin Wrote: >> Но в целом идея, что для остановки nginx'а системными скриптами >> надо использовать QUIT - она, скажем так, странная. > > Да, странно зачем в дистрибутиве от Nginx, в файле nginx.service указан QUIT > сигнал > >

Re: upstream - behavior on pool exhaustion

2017-04-18 Thread B.R. via nginx
'down' should not translate into any kind of attempt, so nothing should really appear for the servers in that static state. For 'unavailable' servers, for the most part the content of the variables should be the same. Starting from the example I provided, here is what I expected to see: -

[nginx] Set UDP datagram source address (ticket #1239).

2017-04-18 Thread Roman Arutyunyan
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

Welcome to nginx on Debian!

2017-04-18 Thread xstation
Welcome to nginx on Debian! is the default holding page where is this stored on debian 8 jessie? thankyou xstation Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273701,273701#msg-273701 ___ nginx mailing list nginx@nginx.org

[nginx] Core: removed extra ngx_alloc() and ngx_calloc() prototypes.

2017-04-18 Thread Sergey Kandaurov
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

Re: Редирект с одного порта на другой

2017-04-18 Thread alexandre_frolov
Большое спасибо, помогло! Posted at Nginx Forum: https://forum.nginx.org/read.php?21,273696,273699#msg-273699 ___ nginx-ru mailing list nginx-ru@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-ru

Re: Редирект с одного порта на другой

2017-04-18 Thread Andrey Kopeyko
alexandre_frolov писал 2017-04-18 08:34: Нужно сделать так, чтобы HTTPS-сайт открывался и через стандартный порт 443, и через нестандартный, например, 8082. Подскажите, пожалуйста, можно ли сделать нужный редирект с помощью nginx, и каким образом? Добрый день, Александр! Если вам нужны оба

Re: Как правильно настроить nginx proxypass?

2017-04-18 Thread winmasta
Добрый день появилась новая проблема, понадобилось перенаправлять все запросы на root.ru/register на root.ru/auth/register и прочие (имена взяты для примера), кусок конфига ниже, но почему-то перенаправление не происходит, подскажите в где ошибка ? server { listen 80; # return 301