I haven't seen $connection before. Dunno how I missed it.
On Tue, Jul 11, 2017 at 10:58 PM, Maxim Dounin wrote:
> Hello!
>
> On Tue, Jul 11, 2017 at 10:18:00PM +0300, Donatas Abraitis wrote:
>
>> In short, it provides unique socket identifier.
>>
>> * It would
, 2017 at 10:28:42PM +0300, Donatas Abraitis wrote:
>
>> this looks promising when new 4.12 kernel introduced SO_COOKIE socket
>> option which is able to generate a cookie for the socket.
>>
>> More information and implementation is here:
>> https://git.kernel.org/p
Waiting for comments.
# HG changeset patch
# User Donatas Abraitis
# Date 1499424023 -10800
# Fri Jul 07 13:40:23 2017 +0300
# Node ID 55b401978df27f1a1ab4eee4e50615b7551e3c0b
# Parent 70e65bf8dfd7a8d39aae8ac3a209d426e6947735
Add new `socket_cookie` variable
This would be useful for
Already found the problem. There was timer_resolution set to 100ms, which
distorted these latencies.
On Sat, Nov 14, 2015 at 12:09 PM, Donatas Abraitis <
donatas.abrai...@gmail.com> wrote:
> Hi there!
>
> I want to know when $msec is used in proxy_set_header directive? I se
Hi there!
I want to know when $msec is used in proxy_set_header directive? I set:
location / {
proxy_set_header X-Queue-Start $msec;
}
But it's set with the same value as $r->start_sec + $r->start_msec. Is it
true, that $msec == ("%d.%d", $r->start_sec, $r->start_msec)? Or it's
really generate
xt_upstream_tries)
> +{
> +u->peer.tries = u->conf->next_upstream_tries;
> +}
> +
> ngx_http_upstream_connect(r, u);
>
> failed:
>
>
>
> --
>
> Message: 2
> Date: Tue, 28 Oct 2014 15:51:19 +0300
&
Hello,
is it true, that SIGHUP is not handled by ngx_module_t /* exit process */ ?
I mean if I have these defined:
ngx_http_modsecurity_terminate, /* exit process */
ngx_http_modsecurity_terminate, /* exit master */
So, sending SIGHUP to the master it doesn't call the
ngx_http_modsecuri
Hello everyone,
I'm trying to change behavior of one of the modules like ModSecurity. It
doesn't free memory after reload, only after restart.
static void ngx_http_modsecurity_terminate(ngx_cycle_t *cycle);
ngx_http_modsecurity_terminate, /* exit process */
ngx_http_modsecurity_terminate
Hello,
is it possible to make nginx listen like this:
0.0.0.0:443
127.0.0.1:443
Because using such confuration I'm getting error bind() .. Address already
in use.
--
Donatas
___
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/
Hey,
who can explain this function's behavior? Am I using this wrong? It always
returns NULL, though I 100% ensured, there should be. Is here any way to
list all nodes in the rbtree?
static int purge_from_cache(ngx_slab_pool_t *shpool, ngx_rbtree_t *rbtree,
ngx_str_t ip, ngx_http_request_t *r)
{
nginx-devel-ow...@nginx.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of nginx-devel digest..."
>
>
> Today's Topics:
>
>1. Re: nginx-devel Digest, Vol 58, Issue 34 (Donatas Abraitis)
>
>
>
pics:
>
>1. [nginx] Sub filter: fixed matching for a single character.
> (Valentin Bartenev)
>2. return 403 instead of next phase (Donatas Abraitis)
>3. Re: header value null termination? (Maxim Dounin)
>4. Re: return 403 instead of next phase (Maxim Dounin
Hey,
static ngx_int_t ngx_http_hostprotect_init(ngx_conf_t *cf)
{
ngx_http_handler_pt *h;
ngx_http_core_main_conf_t *cscf;
cscf = ngx_http_conf_get_module_main_conf(cf, ngx_http_core_module);
h = ngx_array_push(&cscf->phases[NGX_HTTP_ACCESS_PHASE].handlers);
if(h == NULL)
return NGX
Hello,
is it possible to set resolver (
http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver) writing
own nginx module?
I want to set custom name servers for querying by gethostbyaddr(). By
default gethostbyaddr() uses /etc/resolv.conf, /etc/hosts. I want to
override this by setting s
ase edit your Subject line so it is more specific
> than "Re: Contents of nginx-devel digest..."
>
>
> Today's Topics:
>
>1. handler before proxy-pass (Donatas Abraitis)
>2. Re: handler before proxy-pass (Maxim Dounin)
>3. Re: [PATCH] append &
Hello,
I want to add a custom 'handler', which would update ngx_os_argv[0] on
request. It should be like this:
root 18601 0.0 0.0 62272 3812 ?Ss 07:00 0:00 nginx:
master process /opt/nginx/bin/nginx -c /opt/nginx/etc/nginx.conf
web 18602 0.0 0.0 70372 7904 ?S
16 matches
Mail list logo