Possible bug in SSI include handling

Maxim Dounin mdounin at mdounin.ru
Thu Dec 31 17:58:40 MSK 2009


On Wed, Dec 30, 2009 at 02:42:16PM -0500, Maxim Khitrov wrote:

> This file structure required to duplicate this bug is a bit complex to
> explain. Therefore, I put the required files into a tiny archive,
> which you can download from [1].


> I started looking through the source code for ssi module, but I'm
> hoping that someone more familiar with nginx internals would be able
> to find a solution quicker. It seems that adding wait="yes" to the
> virtual include in bad.html also fixes the problem, so I suspect that
> the issue is with requests being performed in parallel.

I'm able to reproduce it here, thanks.  I'll take a look (but most 
likely after New Year).

It seems to be caused by mix of waited (include file=... is 
implicitly waited) and non-waited subrequests with non-trivial 

BTW, Happy New Year!

Maxim Dounin

More information about the nginx mailing list