[PATCH] SBuf conversion of HttpRequestMethod

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 08 Apr 2014 15:45:06 +1200

Add mk-sbuf-strings.awk script to produce a global array of SBuf for the
string objects of registered methods. This can be re-used to convert
other enum name arrays as we go forward.

Use an SBuf to store unknown method names "image". Including a few
string comparison upgrades.

Removes use of RequestMethodStr() wrapper in debugs to reduce the amount
of overheads calling c_str() when debug printing method strings.

Amos

Received on Tue Apr 08 2014 - 03:45:19 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 09 2014 - 12:00:12 MDT