cache purge

冉兵 bing_ran at hotmail.com
Tue Nov 17 12:48:10 MSK 2009


The new patch works great.

Thanks Piotr


--------------------------------------------------
From: "Piotr Sikora" <piotr.sikora at frickle.com>
Sent: Tuesday, November 17, 2009 3:23 PM
To: <nginx at sysoev.ru>
Subject: Re: cache purge

>> One of my developers did the patch manually and she might have introduced 
>> some bugs during the process.
>
> I doubt that she introduced any, because patch for nginx-0.8.8 applies 
> cleanly (without any modifications) against latest nginx.
>
> Anyway, this "bug" you were seeing appeared when original patch was 
> applied against nginx-0.8.11 or newer (long story short: 
> r->cache->body_start was never set and nginx tried to read 0 bytes). This 
> is fixed now.
>
>> Would it be easier to make it a standalone module rather than a patch for 
>> users?
>
> It was created as a patch, because we (Johan Bergstr?m from yo.se, who 
> funded this patch and me) hoped that it would be imported to nginx's base 
> someday.
>
>> I'm waiting for your new patch to the latest nginx and I'll test it out 
>> and report back.
>
> Patch against nginx-0.8.26 is available at:
> http://labs.frickle.com/nginx_cache_purge/
>
> In the future, please report when you find bugs ;)
>
> Best regards,
> Piotr Sikora < piotr.sikora at frickle.com >
>
>
> 





More information about the nginx mailing list