getting POST data

2019-06-04 Thread merlit64
I have a header/body filter module that I have created that successfully modifies HTML as it passes through while being proxied by proxy_pass. client NGINX proxy with filter --- html server I need to use information in an http POST to make decisions on how to modify the body. I see how to

Re: SMTP proxy with "STARTTLS only" accepts unencrypted mail

2019-06-04 Thread Maxim Dounin
Hello! On Mon, Jun 03, 2019 at 10:16:20PM +0200, Marcus wrote: > I try to use NGiNX 1.10.3-1+deb9u2 (Debian 9 version) as SMTP proxy in > front of a postfix server. I defined one server that should accept > encrypted connections only. Therefore I set "starttls only". > > But this server accept

Re: broken header without HAProxy

2019-06-04 Thread Maxim Dounin
Hello! On Tue, Jun 04, 2019 at 02:25:39AM -0400, arashad wrote: > I'm trying to remove HAProxy from my setup but i keep getting "broken header > while reading proxy protocol" and the website won't open at all. > If i remove the "send-proxy" from HAProxy the website won't open also. Likely the re

Re: make ngx_pool clear2

2019-06-04 Thread Maxim Dounin
Hello! On Tue, Jun 04, 2019 at 04:38:21PM +0800, liuyujun wrote: > hello. everybody here? > > example before: > for (p = pool; p; p = p->d.next) { > p->d.last = (u_char *) p + sizeof(ngx_pool_t); > p->d.failed = 0; > } > > > > > after: > for (p = &pool->d; p; p =

Re: broken header without HAProxy

2019-06-04 Thread Aleksandar Lazic
Am 04.06.2019 um 10:32 schrieb arashad: > haproxy -vv > HA-Proxy version 1.5.18 2016/05/10 > Copyright 2000-2016 Willy Tarreau [snip] > ## > nginx -v > nginx version: nginx/1.16.0 > > ## > > cat $HAPROXY-CONF > produces an error seems the

make ngx_pool clear2

2019-06-04 Thread liuyujun
hello. everybody here? example before: for (p = pool; p; p = p->d.next) { p->d.last = (u_char *) p + sizeof(ngx_pool_t); p->d.failed = 0; } after: for (p = &pool->d; p; p = p->next) { if (p == &pool->d) { p->last = (u_char *) p + sizeof(ngx_pool_

Re: broken header without HAProxy

2019-06-04 Thread arashad
haproxy -vv HA-Proxy version 1.5.18 2016/05/10 Copyright 2000-2016 Willy Tarreau Build options : TARGET = linux2628 CPU = generic CC = gcc CFLAGS = -O2 -g -fno-strict-aliasing -DTCP_USER_TIMEOUT=18 OPTIONS = USE_LINUX_TPROXY=1 USE_GETADDRINFO=1 USE_ZLIB=1 USE_REGPARM=1 USE_OP

make ngx_pool clear

2019-06-04 Thread liuyujun
patch? diff.patch Description: Binary data ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: broken header without HAProxy

2019-06-04 Thread Aleksandar Lazic
Hi. Am 04.06.2019 um 08:25 schrieb arashad: > Hello, > > I'm trying to remove HAProxy from my setup but i keep getting "broken header > while reading proxy protocol" and the website won't open at all. > If i remove the "send-proxy" from HAProxy the website won't open also. It would help a lot wh