Re: [RFC] The nginx way of handling optimizations for hw architectures

2019-11-19 Thread Sergey A. Osokin
Hi Joe, hope you're doing well. I'm supporting nginx for FreeBSD ports tree for years and we usually don't use '--with-cpu-opt' flag for the port/package build. Also, this is the general recommendation described on FreeBSD Porters Handbook to avoid to use opti- misation flags from the third-part

[PATCH] Update nginx(8) manual page

2019-11-30 Thread Sergey A. Osokin
# HG changeset patch # User Sergey A. Osokin # Date 1575163872 -10800 # Sun Dec 01 04:31:12 2019 +0300 # Node ID 477a78d1b14e415a80b6bfb3d829eb408f33f390 # Parent d13eddd9e2529b4bc30dc00aad959bd10ced4c33 Update nginx(8) manual page. Sort the command line options. diff -r d13eddd9e252 -r

Re: [PATCH] Update nginx(8) manual page

2019-12-05 Thread Sergey A. Osokin
Hi Ruslan, thank you very much for the review. Could you please go ahead and commit the changes. -- Sergey Osokin On Thu, Dec 05, 2019 at 02:04:08PM +0300, Ruslan Ermilov wrote: > On Sun, Dec 01, 2019 at 04:41:23AM +0300, Sergey A. Osokin wrote: > > # HG changeset patch > >

[PATCH] Add nginx.conf(5)

2019-12-07 Thread Sergey A. Osokin
# HG changeset patch # User Sergey A. Osokin # Date 1575745926 -10800 # Sat Dec 07 22:12:06 2019 +0300 # Node ID 4418dfeac658f1cf5ea7334b1bdf3084e2b1c7cd # Parent 3939483cd1b56b202a99b1db344d9568b0958e67 Add nginx.conf(5). diff -r 3939483cd1b5 -r 4418dfeac658 docs/man/nginx.conf.5 --- /dev

Re: nginx test plan with max coverage?

2020-06-10 Thread Sergey A. Osokin
Hi Yigal, hope you're doing well these days. I've prepared this email some days ago, but I've just realised I haven't sent it yet. I do apologies for that. There're many tools are available on the market for static and dynamic analysis, code coverage and testing, including but not limiting by C

Re: njs: get raw requestURI or full querystring

2021-04-27 Thread Sergey A. Osokin
Hi Gunter, hope you're doing well these days. On Tue, Apr 27, 2021 at 11:21:26PM +0200, Gunter Grodotzki wrote: > Hi all, > > I would love to try out nginx njs for https://url.rw > > Unfortunately I do not seem to be able to get the value of the querystring > e.g. > in my case it does not cont

Re: njs: get raw requestURI or full querystring

2021-04-28 Thread Sergey A. Osokin
On Wed, Apr 28, 2021 at 07:45:37AM +0200, Gunter Grodotzki wrote: > Unfortunately r.args is empty if no key/value pair is given. Well, the r.args is empty in case of an emptyness of a querystring. But we have a bit different case when URL contains a query string with a key, but without a value fo

Re: njs: get raw requestURI or full querystring

2021-04-28 Thread Sergey A. Osokin
Hi Gunter, On Wed, Apr 28, 2021 at 04:43:26PM +0200, Gunter Grodotzki wrote: > Thanks so much Dmitry & Sergey, > > I did not catch this earlier since dumping r.variables was empty, only by > explicitly accessing the request_uri property I was now able to get what I > needed. > > Very excited to

Re: njs: output compression?

2021-04-28 Thread Sergey A. Osokin
Hi Gunter, On Thu, Apr 29, 2021 at 03:34:39AM +0200, Gunter Grodotzki wrote: > Hi all, > > Is there a simple way that I am missing to enable output compression for njs > scripts? I don't think it's good practice to use the njs module for a compression or any other heavy-math calculations. > It

PCRE1/PCRE2 support for FreeBSD's www/nginx-devel

2021-12-24 Thread Sergey A. Osokin
Hi, upcoming nginx release 1.21.5 will support both version of PCRE library. The attached patch enables such support for www/nginx-devel in FreeBSD ports tree. I appreciate your testing and feedback. Thank you. -- Sergey A. Osokin diff --git a/www/nginx-devel/Makefile b/www/nginx-devel

Re: Need information

2022-03-11 Thread Sergey A. Osokin
Hi Kumar, hope you're doing well. On Fri, Mar 11, 2022 at 02:48:50PM +0530, Gk Gk wrote: > Hi, > > We work on cloud platforms and we have recently come across an nginx > vulnerability described at > https://mailman.nginx.org/pipermail/nginx-announce/2021/000300.html?_ga=2.60788846.2132221914.164

Re: Periodically refreshing an allowlist in njs

2022-03-26 Thread Sergey A. Osokin
lightweight VM for every request. > Is the answer to do a subrequest and cache it or something? I'd recommend to tweak the architecutre a bit and use a key-value store instead of an access to a file. -- Sergey A. Osokin ___ nginx-devel mailing list --

Re: Pass Lua variable in proxy pass directive

2022-05-30 Thread Sergey A. Osokin
need help with understanding what goes wrong in your nginx configuration and how to configure nginx properly, please use the nginx@ mailing list instead. Also, the question is related to the third-party module, developing by another team. So, I'd recommend to address

Re: Nginx - quic issue

2022-11-17 Thread Sergey A. Osokin
l mailing list is nginx development. The opentelemery module is a third-party product, follow that, would you mind to ask the vendor to update the functionality of the module to support a modern protocol. Thank you. -- Sergey A. Osokin ___ ngin

[PATCH] fix "the the" typo

2022-12-13 Thread Sergey A. Osokin
Hi, here's the patch to fix "the the" typo. Thank you. -- Sergey A. Osokin diff -r 178f55cf631a xml/en/docs/http/ngx_http_upstream_module.xml --- a/xml/en/docs/http/ngx_http_upstream_module.xml Tue Dec 13 19:01:40 2022 +0300 +++ b/xml/en/docs/http/ngx_http_upstream_module.xml T

[PATCH] Fixed typo in the sticky directive

2022-12-14 Thread Sergey A . Osokin
xml/en/docs/http/ngx_http_upstream_module.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) # HG changeset patch # User Sergey A. Osokin # Date 1671031009 -10800 # Wed Dec 14 18:16:49 2022 +0300 # Node ID 72b76e78e2845278b7a93bffe953a17077cd5f70 # Parent

[PATCH] Fix typos in the CHANGES files

2022-12-14 Thread Sergey A . Osokin
text/en/CHANGES-0.5 | 2 +- text/en/CHANGES-0.6 | 6 +++--- text/en/CHANGES-0.7 | 6 +++--- text/en/CHANGES-0.8 | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) # HG changeset patch # User Sergey A. Osokin # Date 1671031600 -10800 # Wed Dec 14 18:26:40 2022 +0300 # Node

Re: Changing ownership of proxy_temp and other temp directories

2023-03-16 Thread Sergey A. Osokin
his request to nginx@ mailing list. Thank you. -- Sergey A. Osokin ___ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel

[PATCH] Use pipe as a delimiter for sed(1) to fix build for libnjs target

2023-05-11 Thread Sergey A . Osokin
# HG changeset patch # User Sergey A. Osokin # Date 1683860927 -10800 # Fri May 12 06:08:47 2023 +0300 # Node ID 9d717a336e89a34ac92b87a6294a5f552dc56f74 # Parent 1f84f3c34bb08b3489040319aac5cd46ca172bec Use pipe as a delimiter for sed(1) to fix build for libnjs target. sed(1) command line

Re: QUIC docs with php-fpm & ssl cache

2023-05-26 Thread Sergey A. Osokin
d to the nginx@ mailing list. Thank you. -- Sergey A. Osokin ___ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel

[PATCH] Provided more details about ssl_protocol directive usage by

2023-08-29 Thread Sergey A . Osokin
# HG changeset patch # User Sergey A. Osokin # Date 1693322780 -10800 # Tue Aug 29 18:26:20 2023 +0300 # Node ID e3b7490c492c7865baf950e20f0430cf035b6cf3 # Parent 4e25281328fa2152cadedc52e05f8a1b1bf531cd Provided more details about ssl_protocol directive usage by adding link to the "S

Re: [PATCH] Provided more details about ssl_protocol directive usage by

2023-08-29 Thread Sergey A. Osokin
Hi Maxim, thanks for the review. On Tue, Aug 29, 2023 at 07:03:12PM +0300, Maxim Dounin wrote: > On Tue, Aug 29, 2023 at 06:28:09PM +0300, Sergey A. Osokin wrote: > > > # HG changeset patch > > # User Sergey A. Osokin > > # Date 1693322780 -10800 > > #

Re: [PATCH] Provided more details about ssl_protocol directive usage by

2023-08-29 Thread Sergey A. Osokin
Hi, On Tue, Aug 29, 2023 at 09:21:54PM +0300, Maxim Dounin wrote: > On Tue, Aug 29, 2023 at 08:54:46PM +0300, Sergey A. Osokin wrote: [...] > > > > Enables the specified protocols. > > + > > + > > $ make > ... > xmllint --noout --valid xml/en/docs/htt

Re: [PATCH] Provided more details about ssl_protocol directive usage by

2023-08-29 Thread Sergey A. Osokin
ely, just using "can be used" as in other directives > might be good enough. Fixed. > > +Defails are provided in the > > s/Defails/Details/ Fixed. [...] > > + > > + > > > > Параметры TLSv1.1 и TLSv1.2 > > (1.1.13, 1.0.12) работают тол

Re: [PATCH] Minor docs fixes

2023-08-31 Thread Sergey A. Osokin
6f8d xml/ru/docs/http/ngx_http_v3_module.xml --- a/xml/ru/docs/http/ngx_http_v3_module.xml Tue Aug 29 09:11:57 2023 +0100 +++ b/xml/ru/docs/http/ngx_http_v3_module.xml Thu Aug 31 15:14:39 2023 -0400 @@ -8,8 +8,8 @@ +lang="ru" + rev=&

Re: Error: nginx: [emerg] unknown directive "stream" in /etc/nginx/nginx.conf:11

2023-12-07 Thread Sergey A. Osokin
elated to nginx development, it can be addressed to nginx-devel mailing list. Thank you. -- Sergey A. Osokin ___ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel

Re: [PATCH] HTTP: stop emitting server version by default

2024-02-29 Thread Sergey A. Osokin
the nginx.org website. Thank you. -- Sergey A. Osokin ___ nginx-devel mailing list nginx-devel@nginx.org https://mailman.nginx.org/mailman/listinfo/nginx-devel

[PATCH] HTTP: remove needless code

2024-03-05 Thread Sergey A . Osokin
# HG changeset patch # User Sergey A. Osokin # Date 1709662441 -10800 # Tue Mar 05 21:14:01 2024 +0300 # Node ID 00de871f1e5e0936e2401aaec863bf7040de8608 # Parent eb01434865d7b698f036f199084308726c2827ea HTTP: remove needless code. diff -r eb01434865d7 -r 00de871f1e5e nginx

Re: Binaries for s390x architecture

2024-08-29 Thread Sergey A. Osokin
Hi there, I do believe this is about of the no access to the s390 infra. Once we get access we'll take a look how we can help. Thank you. -- Sergey A. Osokin On Wed, Aug 28, 2024 at 02:13:21PM +, Namrata Bhave via nginx-devel wrote: > Hi, > > This is regarding Nginx Binarie

Re: [njs] HTTP: reading r.requestText or r.requestBuffer from a temp file.

2025-02-02 Thread Sergey A. Osokin
This is great! Thank you! -- Sergey A. Osokin On Sat, Feb 01, 2025 at 01:57:02AM +, nore...@nginx.com wrote: > details: > https://github.com/nginx/njs/commit/2d97e80486d7d2554e58cdaca4f2389b836600c8 > branches: master > commit:2d97e80486d7d2554e58cdaca4f2389b836

Re: Development guide sentence wording

2025-03-03 Thread Sergey A. Osokin
ss an event > queue. It calls event handlers until the queue *is empty*. This means that > a posted event handler can post more events to be processed within the > current event loop iteration. We'll review and update our documentation. Thank you. -- Sergey A. Osokin __

Re: Need information

2022-03-11 Thread Sergey A. Osokin via nginx-devel
That should be the nginx-common package. The resolver.c file isn't a part of the package, that file is a C source code file, usually not a part of a binary distribution. -- Sergey A. Osokin On Fri, Mar 11, 2022 at 05:51:21PM +0530, Gk Gk wrote: > Thanks Sergey. One question. Which pa