Re: [PATCH] Guard against failed allocation during binary upgrade

2013-03-15 Thread Ruslan Ermilov
On Fri, Mar 15, 2013 at 02:27:57PM -0700, Piotr Sikora wrote: > Hey, > pretty obvious patch attached ;) Your patch obviously looks good. :) > diff -r a29c574d61fa src/core/nginx.c > --- a/src/core/nginx.c Fri Mar 15 20:00:49 2013 + > +++ b/src/core/nginx.c Fri Mar 15 14:22:04 2013 -0700 >

Re: Support for progressive jpeg in image_filter module

2013-03-15 Thread Ruslan Ermilov
On Wed, Mar 13, 2013 at 10:04:35PM +0400, ivan babrou wrote: > This patch adds support for progressive jpeg and pgn encoding with > image_filter_interlace on/off setting. Google suggests to use progressive > jpegs so why not with nginx? Your MUA broke the text patch, and HTML with the patch is gen

[PATCH] Guard against failed allocation during binary upgrade

2013-03-15 Thread Piotr Sikora
Hey, pretty obvious patch attached ;) Best regards, Piotr Sikora diff -r a29c574d61fa src/core/nginx.c --- a/src/core/nginx.c Fri Mar 15 20:00:49 2013 + +++ b/src/core/nginx.c Fri Mar 15 14:22:04 2013 -0700 @@ -594,6 +594,9 @@ var = ngx_alloc(sizeof(NGINX_VAR) + c

[nginx] svn commit: r5116 - in trunk/src: core event http/modules

2013-03-15 Thread vbart
Author: vbart Date: 2013-03-15 20:00:49 + (Fri, 15 Mar 2013) New Revision: 5116 URL: http://trac.nginx.org/nginx/changeset/5116/nginx Log: Status: introduced the "ngx_stat_waiting" counter. And corresponding variable $connections_waiting was added. Previously, waiting connections were counte

[nginx] svn commit: r5115 - trunk/src/http

2013-03-15 Thread vbart
Author: vbart Date: 2013-03-15 19:49:54 + (Fri, 15 Mar 2013) New Revision: 5115 URL: http://trac.nginx.org/nginx/changeset/5115/nginx Log: Allow to reuse connections that wait their first request. This should improve behavior under deficiency of connections. Since SSL handshake usually takes

Re: proxy input filter chain?

2013-03-15 Thread Dave Bailey
Hi Maxim, On Fri, Mar 15, 2013 at 10:46 AM, Maxim Dounin wrote: > Hello! > > On Fri, Mar 15, 2013 at 09:59:57AM -0700, Dave Bailey wrote: > > > Hi, > > > > I would like to apply a filter to the request body as it is read from the > > client, but before it is sent upstream. So in the various pro

Re: proxy input filter chain?

2013-03-15 Thread Maxim Dounin
Hello! On Fri, Mar 15, 2013 at 09:59:57AM -0700, Dave Bailey wrote: > Hi, > > I would like to apply a filter to the request body as it is read from the > client, but before it is sent upstream. So in the various proxy module > input filters, when the input ngx_buf_t are initialized and pushed o

proxy input filter chain?

2013-03-15 Thread Dave Bailey
Hi, I would like to apply a filter to the request body as it is read from the client, but before it is sent upstream. So in the various proxy module input filters, when the input ngx_buf_t are initialized and pushed onto the input buffer chain, I would like to pass them through my filter at that

Re: imap proxy and untagged commands

2013-03-15 Thread Maxim Dounin
Hello! On Thu, Mar 14, 2013 at 06:25:55PM +0200, Timo Sirainen wrote: > Hi, > > On Wed, 2013-03-13 at 18:48 +0400, Maxim Dounin wrote: > > > > In real world Dovecot can already send some extra untagged replies if > > > there is some trouble (e.g. heavy load) with its authentication process. > >