Re: nginxQuic: скорость загрузки при активации kTLS

2024-01-11 Thread izorkin
Добрый день, Илья. Может требуется ещё и поддержка recvmmsg()? Может поэтому не работает sendmmsg()?   --  С уважением,  Izorkin                          mailto:izor...@gmail.com___ nginx-ru mailing list nginx-ru@nginx.org

[njs] HTTP: avoiding arithmetic ops with NULL pointer in r.args getter.

2024-01-11 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/4fba78789fe4 branches: changeset: 2267:4fba78789fe4 user: Dmitry Volyntsev date: Thu Jan 11 15:13:47 2024 -0800 description: HTTP: avoiding arithmetic ops with NULL pointer in r.args getter. Found by UndefinedBehaviorSanitizer. diffstat:

[njs] QueryString: avoiding arithmetic ops with NULL in parse().

2024-01-11 Thread Dmitry Volyntsev
details: https://hg.nginx.org/njs/rev/2b221f44efa6 branches: changeset: 2266:2b221f44efa6 user: Dmitry Volyntsev date: Thu Jan 11 15:13:43 2024 -0800 description: QueryString: avoiding arithmetic ops with NULL in parse(). Found by UndefinedBehaviorSanitizer. diffstat:

Re: processing a request without body

2024-01-11 Thread Maxim Dounin
Hello! On Fri, Jan 12, 2024 at 03:26:39AM +0800, Muhammad Nuzaihan wrote: > Hi Maxim, > > After searching the archives, I found the solution which you had > answered before: > https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463/4 > > The code that reads the body

Re: nginxQuic: скорость загрузки при активации kTLS

2024-01-11 Thread izorkin
Добрый вечер, Илья. Судя по логам все попытки успешны. Там все сообщения идентичны: [debug] 33853#33853: *1 sendmmsg: 2 of 2 msg of size 69087  ... [debug] 33853#33853: *1 sendmmsg: 2 of 2 msg of size 70287  ... [debug] 33853#33853: *1 sendmmsg: 2 of 2 msg of size 84687 ...   Почти все сообщения

MIME: mjs file extension

2024-01-11 Thread kaloyan.niko...@4dcoders.com
Hello everyone! I am proposing to add the mjs file extension to the mime-types, because the lack of it causes some problems with apps (in this case Nextcloud) . I have reviewed the old discussion about the change from application/javascript to text/javascript and I understand the position of

Re: nginxQuic: скорость загрузки при активации kTLS

2024-01-11 Thread Илья Шипицин
чт, 11 янв. 2024 г. в 20:25, : > Добрый вечер, Илья. > > > В логах не обнаружил сообщений sendmsg() и sendmmsg(). > т.е. все попытки успешны ? а вот эта часть есть в логах ? +ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0, + "sendmmsg: %z of %ui msg of size %uz", n,

Re: processing a request without body

2024-01-11 Thread Muhammad Nuzaihan
Hi Maxim, After searching the archives, I found the solution which you had answered before: https://www.ruby-forum.com/t/trouble-getting-the-request-body-of-a-http-post/180463/4 The code that reads the body is: rc = ngx_http_read_client_request_body(r,

Re: nginxQuic: скорость загрузки при активации kTLS

2024-01-11 Thread izorkin
Добрый вечер, Илья. В логах не обнаружил сообщений sendmsg() и sendmmsg().   Вы писали 11 января 2024 г., 22:11:56:   > я имею в виду вот этот код > +        if (n == -1) { > +            err = ngx_errno; > + > +            switch (err) { > +            case NGX_EAGAIN: > +                

Re: nginxQuic: скорость загрузки при активации kTLS

2024-01-11 Thread Илья Шипицин
чт, 11 янв. 2024 г. в 20:00, : > Добрый вечер, Илья. > > > Да, только 9 раз. Сейчас в тестах вообще только 3 раза был вызов. И в > debug режиме > > чаще используется __libc_write вызов. > > > > 6965 69.8% 69.8%6965 69.8% __libc_write > > 654 6.6% 76.3% 654 6.6% __sendmsg >

access logs to parquet

2024-01-11 Thread Mark Lybarger
hi, i'm using nginx as a proxy to api gateway / lambda services. each day, i get 500mb of gzipped access logs from 6 proxy servers. i want to load these nginx access logs into a data lake that takes parquet format as input. my question is fairly general, is there something that easily converts

Re: nginxQuic: скорость загрузки при активации kTLS

2024-01-11 Thread izorkin
Добрый вечер, Илья. Да, только 9 раз. Сейчас в тестах вообще только 3 раза был вызов. И в debug режиме чаще используется __libc_write вызов.       6965  69.8%  69.8%    6965  69.8% __libc_write     654  6.6%  76.3%      654  6.6% __sendmsg     357  3.6%  79.9%      357  3.6%

Re: nginxQuic: скорость загрузки при активации kTLS

2024-01-11 Thread Илья Шипицин
из интересного, в openssl master есть вот такое https://github.com/openssl/openssl/blob/master/doc/designs/quic-design/dgram-api.md пн, 8 янв. 2024 г. в 14:18, : > Добрый день, Роман. > > В среднем чуть-чуть лучше результат, скорость иногда выше на > 5-10 МБайт/сек. Иногда на одном уровне

Re: [PATCH 6 of 6] Stream: the "setfib" parameter of the "listen" directive

2024-01-11 Thread Roman Arutyunyan
Hi, On Fri, Dec 15, 2023 at 07:37:49PM +0400, Sergey Kandaurov wrote: > # HG changeset patch > # User Sergey Kandaurov > # Date 1702651328 -14400 > # Fri Dec 15 18:42:08 2023 +0400 > # Node ID 219662ea1613ab68d4d5d4085394bba75993ae42 > # Parent 9be627b7a3a35c00be13332f553e2d3b778877ae >

Re: [PATCH 5 of 6] Stream: the "accept_filter" parameter of the "listen" directive

2024-01-11 Thread Roman Arutyunyan
Hi, On Fri, Dec 15, 2023 at 07:37:48PM +0400, Sergey Kandaurov wrote: > # HG changeset patch > # User Sergey Kandaurov > # Date 1702650593 -14400 > # Fri Dec 15 18:29:53 2023 +0400 > # Node ID 9be627b7a3a35c00be13332f553e2d3b778877ae > # Parent cca722e447f8beaaa6b41a620c8b4239a5d1aa7d >