Very small http parser tweak

Nils Kuhnhenn kuhnhenn.nils at gmail.com
Wed Aug 21 08:20:52 UTC 2013


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.

I'm on my phone right now so sorry for providing no diff.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20130821/48305633/attachment.html>


More information about the nginx-devel mailing list