Re: Buffers Chain

2014-05-26 Thread SplitIce
As in blocking send and connect? I don't know the specifics of Unix Sockets, but don't they block when the buffer fills (I know FIFO queues do)? On Mon, May 26, 2014 at 9:22 AM, Paulo Silva pauloasi...@gmail.com wrote: Hi, I'm not sure whether I will face problems with other filters modifying

Re: Buffers Chain

2014-05-26 Thread Paulo Silva
On Mon, May 26, 2014 at 9:09 AM, SplitIce mat...@gmail.com wrote: As in blocking send and connect? I don't know the specifics of Unix Sockets, but don't they block when the buffer fills (I know FIFO queues do)? Sorry, I don't fully understand your question. I was expecting that with the

Re: Buffers Chain

2014-05-26 Thread SplitIce
Theres actually an example using the memcached module (and echo module to get the request body). The main advantage to the lua module is if you wanted to do something custom (e.g processing) or transmit it over a different protocol not available as an extension. On Mon, May 26, 2014 at 7:17 PM,

Re: Buffers Chain

2014-05-23 Thread Maxim Dounin
Hello! On Thu, May 22, 2014 at 03:21:56PM +0100, Paulo Silva wrote: Hi, Let me introduce the Elephant in the room. My name is Paulo and I'm from Portugal. I am starting developing nginx modules and I'm having a great time with buffers chain :D I'm using nginx as a reverse proxy and my

Re: Buffers Chain

2014-05-23 Thread Paulo Silva
there is other option than modify the auto/modules file? According to my goal (capture the full request response body) I would say that my module must run right before the postpone. Am I supposed to modify the auto/modules like follows? if [ $HTTP_POSTPONE = YES ]; then

Re: Buffers Chain

2014-05-23 Thread Paulo Silva
Hi, On Fri, May 23, 2014 at 12:58 PM, Maxim Dounin mdou...@mdounin.ru wrote: Hello! On Fri, May 23, 2014 at 11:57:20AM +0100, Paulo Silva wrote: there is other option than modify the auto/modules file? According to my goal (capture the full request response body) I would say that my

Buffers Chain

2014-05-22 Thread Paulo Silva
Hi, Let me introduce the Elephant in the room. My name is Paulo and I'm from Portugal. I am starting developing nginx modules and I'm having a great time with buffers chain :D I'm using nginx as a reverse proxy and my goal is to log the full response body (HTML) on the server. I did start

[nginx] SPDY: implemented buffers chain splitting.

2014-01-14 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/b7ee1bae0ffa branches: changeset: 5514:b7ee1bae0ffa user: Valentin Bartenev vb...@nginx.com date: Tue Jan 14 16:24:45 2014 +0400 description: SPDY: implemented buffers chain splitting. It fixes chain too big in spdy filter alerts, and adds full