http: freeze fields when creating them, always
commit99911621719a5798e24225ca40a1a11ef856faa5
authorEric Wong <normalperson@yhbt.net>
Wed, 12 Aug 2009 23:58:29 +0000 (12 16:58 -0700)
committerEric Wong <normalperson@yhbt.net>
Wed, 12 Aug 2009 23:58:29 +0000 (12 16:58 -0700)
tree594faf136307ef220c328565dcec142e6e5f71da
parentb1adc4738b5fd9a42a5d686d67efae300d1c55ea
http: freeze fields when creating them, always

Otherwise we'll be creating an extra garbage string because
rb_hash_aset can't tell the string isn't being used elsewhere
and creates a new frozen one.
ext/unicorn_http/common_field_optimization.h