ext/http11/http11.c in mongrel-0.3.12.2 vs ext/http11/http11.c in mongrel-0.3.12.3

- old
+ new

@@ -133,11 +133,11 @@ rb_hash_aset(req, global_content_length, clen); } ctype = rb_hash_aref(req, global_http_content_type); if(ctype != Qnil) { - rb_hash_aset(req, global_content_type, Qnil); + rb_hash_aset(req, global_content_type, ctype); } rb_hash_aset(req, global_gateway_interface, global_gateway_interface_value); if((temp = rb_hash_aref(req, global_http_host)) != Qnil) { // ruby better close strings off with a '\0' dammit @@ -518,10 +518,10 @@ DEF_GLOBAL(server_name, "SERVER_NAME"); DEF_GLOBAL(server_port, "SERVER_PORT"); DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL"); DEF_GLOBAL(server_protocol_value, "HTTP/1.1"); DEF_GLOBAL(http_host, "HTTP_HOST"); - DEF_GLOBAL(mongrel_version, "Mongrel 0.3.12.2"); + DEF_GLOBAL(mongrel_version, "Mongrel 0.3.12.3"); DEF_GLOBAL(server_software, "SERVER_SOFTWARE"); DEF_GLOBAL(port_80, "80"); eHttpParserError = rb_define_class_under(mMongrel, "HttpParserError", rb_eIOError);