http: call rb_str_modify before rb_str_resize
commit67e1fa9f9535ad009d538b8189bb3bdec0e5f79c
authorEric Wong <normalperson@yhbt.net>
Mon, 23 May 2011 21:53:19 +0000 (23 21:53 +0000)
committerEric Wong <normalperson@yhbt.net>
Mon, 23 May 2011 22:58:50 +0000 (23 22:58 +0000)
tree265d97d6ad4fd31f4f4e6c128f2cb0a6df411481
parent1b31c40997ff8b932a457275e9a2f219de1d32c8
http: call rb_str_modify before rb_str_resize

Ruby 1.9.3dev (trunk) requires it if the string size
is unchanged.
ext/unicorn_http/unicorn_http.rl