http: Rubinius 0.13.0 compatibility fix
commitc89ce4fb958d79009feb18cea39b14ddf8b11ff5
authorEric Wong <normalperson@yhbt.net>
Sun, 22 Nov 2009 06:35:28 +0000 (21 22:35 -0800)
committerEric Wong <normalperson@yhbt.net>
Sun, 22 Nov 2009 06:35:28 +0000 (21 22:35 -0800)
treedd83a4eeeb3176b3b3d9adbccd1cbe8915939a29
parent7bb2b69b55973bd55c2668a39e86381aa945f665
http: Rubinius 0.13.0 compatibility fix

Rubinius appears to have changed semantics and our
rb_str_set_len() emulation doesn't work anymore.  Since
rb_str_set_len() is just an optimized version of
rb_str_resize(), we'll just use rb_str_resize() for now
unless we notice something better.

test_http_parser and test_http_parser_ng tests pass under
Rubinius 0.13.0.
ext/unicorn_http/ext_help.h