Very small http parser tweak
Maxim Dounin
mdounin at mdounin.ru
Wed Aug 21 10:55:26 UTC 2013
Hello!
On Wed, Aug 21, 2013 at 10:20:52AM +0200, Nils Kuhnhenn wrote:
> The http parser performance for http methods that are 5 bytes long could be
> improved a little by inserting 'break' after each 'r->method =...' in the
> lines 212-224 in src/http/ngx_http_parse.c
>
> From looking at the other code it looks like someone just forgot to insert
> them.
Sure, thanks for noting this.
--
Maxim Dounin
http://nginx.org/en/donation.html
More information about the nginx-devel
mailing list