http: minor cleanup of http_field handling
commit04872aa8c6e7a88d56add4e082b485da02da33f0
authorEric Wong <normalperson@yhbt.net>
Sun, 2 Aug 2009 22:00:03 +0000 (2 15:00 -0700)
committerEric Wong <normalperson@yhbt.net>
Sun, 9 Aug 2009 08:28:16 +0000 (9 01:28 -0700)
treed60348469d2cf707519ab2c542fe79c993325223
parent7bb9cf8e08eae1ab9fa058d62753eda044707627
http: minor cleanup of http_field handling

Create a Ruby string object before jumping into the function
to reduce the number of parameters passed and to take advantage
of our STR_NEW macro to reduce noise.
ext/unicorn_http/unicorn_http.rl