Welcome! Log In Create A New Profile

Advanced

Re: Very small http parser tweak

Maxim Dounin
August 21, 2013 06:56AM
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

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Very small http parser tweak

Nils Kuhnhenn 795 August 21, 2013 04:22AM

Re: Very small http parser tweak

Maxim Dounin 489 August 21, 2013 06:56AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 193
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready