]> granicus.if.org Git - libevent/commit
Performance tweak to evhttp_parse_request_line.
authorMark Ellzey <mark.thomas@mandiant.com>
Fri, 6 May 2011 12:48:54 +0000 (08:48 -0400)
committerMark Ellzey <mark.thomas@mandiant.com>
Fri, 6 May 2011 12:48:54 +0000 (08:48 -0400)
commitaee1a97da429ca01923123b306469ffc42e828f0
tree5ac369179e35bb7f724453017b37894277624401
parent18f24ef4d5233087ecf0500c0733f33e0296eb7d
Performance tweak to evhttp_parse_request_line.

Method parsing has been tweaked out to use a lookup table instead of multiple
branching. In our testing it has increased performance by a fair bit.
http.c