keepalive and 5xx

2018-07-09 Thread Frank Liu
Does nginx automatically disconnect keepalive connection if 5xx response code is generated? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: header already sent

2018-07-09 Thread Dk Jack
@Hung Nguyen, Sorry did not see your response. Looks like my email settings were incorrect and I was not receiving the emails. I am looking for a way to send custom response without having to change the config. Dk. On Fri, Jul 6, 2018 at 2:33 PM Dk Jack wrote: > Hi, > I thought I solved my

Re: header already sent

2018-07-09 Thread Dk Jack
@Maxim, Sorry did not see your response. Looks like my email settings were incorrect and I was not receiving the emails. I just want to discard the post body and respond with a custom status code and message. In my code, I call ngx_http_discard_request_body before I send the header i.e. the

Re: RSS

2018-07-09 Thread Sergey Budnevitch
I hope all reported issues were fixed, thank you. > On 9 Jul 2018, at 12:37, Gena Makhomed wrote: > > On 09.07.2018 11:39, Valentin V. Bartenev wrote: > >>> bot mitigation mechanism written as custom "C" module >>> or written using only njs, without 3rd party modules? > >> It's pretty easy to

Re: [nginx] How to check node has been deleted from rbtree?

2018-07-09 Thread 洪志道
Get it now, thank you. On Mon, Jul 9, 2018 at 8:24 PM Maxim Dounin wrote: > Hello! > > On Mon, Jul 09, 2018 at 07:51:47PM +0800, 洪志道 wrote: > > > As shown the subject, I wonder how to check some node has been deleted > from > > the red-black tree? > > No such information is provided. If you

Re: [nginx] How to check node has been deleted from rbtree?

2018-07-09 Thread Maxim Dounin
Hello! On Mon, Jul 09, 2018 at 07:51:47PM +0800, 洪志道 wrote: > As shown the subject, I wonder how to check some node has been deleted from > the red-black tree? No such information is provided. If you need it, you should implement it yourself or rewrite your code to avoid this requirement.

Re: proxy_cache_background_update leads to 200 ms delay

2018-07-09 Thread Valentin V. Bartenev
On Saturday 07 July 2018 08:15:43 stephan13360 wrote: > Wow, thats it! The delay is gone. > > For now I am satisfied that the delay is gone and will read up some more on > tcp_nopush. > > For the future: Is there any information on why the combination of > tcp_nopush and

[nginx] How to check node has been deleted from rbtree?

2018-07-09 Thread 洪志道
Hi. As shown the subject, I wonder how to check some node has been deleted from the red-black tree? The case is like the following: Step 1: node1 = ngx_rbtree_insert(...); node2 = ngx_rbtree_insert(...); node3 = ngx_rbtree_insert(...); Step 2: node = find_node_from_rbtree(...);

Re: проблемы rewrite + secure link, экранизация символа ? (вопроса)

2018-07-09 Thread Роман Москвитин
Да что ж такое то. :( Извиняюсь, моя первоначальная реплика немного неуместна, контекст попутал :( On Mon, Jul 9, 2018 at 12:38 PM Роман Москвитин wrote: > Я буду полностью перечитывать сообщение перед ответом! > Я буду полностью перечитывать сообщение перед ответом! > > > On Mon, Jul 9, 2018

Re: проблемы rewrite + secure link, экранизация символа ? (вопроса)

2018-07-09 Thread Роман Москвитин
Я буду полностью перечитывать сообщение перед ответом! Я буду полностью перечитывать сообщение перед ответом! On Mon, Jul 9, 2018 at 12:18 PM zerko wrote: > Так а почему на других серверах параметры передаются? Эта инструкция secure > link описана на офф сайте, я сделал 1в1, в итоге не

Re: RSS

2018-07-09 Thread Gena Makhomed
On 09.07.2018 11:39, Valentin V. Bartenev wrote: bot mitigation mechanism written as custom "C" module or written using only njs, without 3rd party modules? It's pretty easy to write one using only njs. Can you make reference implementation open source under permissive software license?

Re: проблемы rewrite + secure link, экранизация символа ? (вопроса)

2018-07-09 Thread zerko
Так а почему на других серверах параметры передаются? Эта инструкция secure link описана на офф сайте, я сделал 1в1, в итоге не работает, что не так? Posted at Nginx Forum: https://forum.nginx.org/read.php?21,280425,280456#msg-280456 ___ nginx-ru

Re: [no subject]

2018-07-09 Thread Jb Hobbs via nginx
http://join.pointtome.com Jb Hobbs ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: RSS

2018-07-09 Thread Gena Makhomed
On 09.07.2018 10:41, Sergey Budnevitch wrote: atom-tags, atom-log, archive were removed from bot mitigation mechanism One more bug: If you try to open some page from RSS, for example: http://hg.nginx.org/nginx/rev/54683f650cbd you will see only plain html, this is not expected. Firefox

Re: проблемы rewrite + secure link, экранизация символа ? (вопроса)

2018-07-09 Thread Роман Москвитин
RTFM! Параметры не являются частью локейшена! On Mon, Jul 9, 2018 at 5:38 AM zerko wrote: > только добавляю в ссылку слэш перед вопросом - > > /stream/film/rampage.2018.720p/hls/360/segment1.ts\?md5=LiQjwr4LZRGdOVCV-aeOgg=1531119761 > попадает в локейшен!! и выдает 403 форбиден. Ну как так? > >

Re: RSS

2018-07-09 Thread Valentin V. Bartenev
On Monday, 9 July 2018 11:27:58 MSK Gena Makhomed wrote: > On 09.07.2018 10:41, Sergey Budnevitch wrote: > > >> https://hg.nginx.org/nginx/atom-log > >> https://hg.nginx.org/pkg-oss/atom-log > >> https://hg.nginx.org/nginx.org/atom-log > >> > >> stop working, instead of RSS feed html+javascript

Re: RSS

2018-07-09 Thread Gena Makhomed
On 09.07.2018 10:41, Sergey Budnevitch wrote: https://hg.nginx.org/nginx/atom-log https://hg.nginx.org/pkg-oss/atom-log https://hg.nginx.org/nginx.org/atom-log stop working, instead of RSS feed html+javascript returned. RSSOwl can't execute javascript and don't see these RSS feeds. Also I

Re: RSS

2018-07-09 Thread Sergey Budnevitch
> On 08 Jul 2018, at 00:32, Gena Makhomed wrote: > > Hello, All! > > RSS > > https://hg.nginx.org/nginx/atom-log > https://hg.nginx.org/pkg-oss/atom-log > https://hg.nginx.org/nginx.org/atom-log > > stop working, instead of RSS feed html+javascript returned. > RSSOwl can't execute

Re: [PATCH] Core: remove unused FIOASYNC.

2018-07-09 Thread Ian Gudger via nginx-devel
Any update on this? On Thu, Jun 28, 2018 at 4:47 AM Ruslan Ermilov wrote: > > On Thu, Jun 28, 2018 at 12:27:40PM +0300, Ruslan Ermilov wrote: > > On Wed, Jun 27, 2018 at 01:40:26PM -0700, Ian Gudger wrote: > > > Sorry, I understand now. > > > > > > Here is a new patch which removes that too: > >