find bug in dns resovle
is at rambler-co.ru
Mon Nov 17 10:51:17 MSK 2008
On Mon, Nov 17, 2008 at 10:20:34AM +0800, nginx at aqcx.com wrote:
> in function ngx_resolver_copy ,n = (n & 0x3f << 8) + *p;
> should be n = ((n & 0x3f) << 8) + *p;otherwis ,& oprator will not work correctlly.
Thank you very much.
I had missed it as it becomes apparent on big (>256 bytes) DNS responses.
What is your full name to include in CHANGES log ?
More information about the nginx