annotate contrib/README @ 4895:508e61393b6c
Event pipe: fixed handling of buf_to_file data.
Input filter might free a buffer if there is no data in it, and in case
of first buffer (used for cache header and request header, aka p->buf_to_file)
this resulted in cache corruption. Buffer memory was reused to read upstream
response before headers were written to disk.
Fix is to avoid moving pointers in ngx_event_pipe_add_free_buf() to a buffer
start if we were asked to free a buffer used by p->buf_to_file.
This fixes occasional cache file corruption, usually resulted
in "cache file ... has md5 collision" alerts.
Reported by Anatoli Marinov.
author |
Maxim Dounin <mdounin@mdounin.ru> |
date |
Tue, 30 Oct 2012 11:14:24 +0000 |
parents |
63a820b0bc6c |
children |
1bdf906bba99 |
rev |
line source |
537
|
1
|
667
|
2 geo2nginx.pl by Andrei Nigmatulin
|
|
3
|
|
4 The perl script to convert CSV geoip database ( free download
|
|
5 at http://www.maxmind.com/app/geoip_country ) to format, suitable
|
|
6 for use by the ngx_http_geo_module.
|
|
7
|
537
|
8
|
667
|
9 unicode2nginx by Maxim Dounin
|
|
10
|
|
11 The perl script to convert unicode mappings ( available
|
|
12 at http://www.unicode.org/Public/MAPPINGS/ ) to the nginx
|
|
13 configuration file format.
|
|
14 Two generated full maps for windows-1251 and koi8-r.
|
|
15
|