1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
This commit is contained in:
Evan Weaver 2010-03-07 16:30:42 -08:00
parent d9479cb6b8
commit 05de09b0ff
4 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
=== 1.1.6 / 2009-07-07 === 1.2.0.pre / 2009-07-07
Improvements: Improvements:

View file

@ -515,7 +515,7 @@ void Init_http11()
DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL"); DEF_GLOBAL(server_protocol, "SERVER_PROTOCOL");
DEF_GLOBAL(server_protocol_value, "HTTP/1.1"); DEF_GLOBAL(server_protocol_value, "HTTP/1.1");
DEF_GLOBAL(http_host, "HTTP_HOST"); DEF_GLOBAL(http_host, "HTTP_HOST");
DEF_GLOBAL(mongrel_version, "Mongrel 1.1.6"); /* XXX Why is this defined here? */ DEF_GLOBAL(mongrel_version, "Mongrel 1.2.0.pre"); /* XXX Why is this defined here? */
DEF_GLOBAL(server_software, "SERVER_SOFTWARE"); DEF_GLOBAL(server_software, "SERVER_SOFTWARE");
DEF_GLOBAL(port_80, "80"); DEF_GLOBAL(port_80, "80");

View file

@ -183,7 +183,7 @@ public class Http11 extends RubyObject {
req.setInstanceVariable("@http_body", RubyString.newString(runtime, new ByteList(hp.parser.buffer, at, length))); req.setInstanceVariable("@http_body", RubyString.newString(runtime, new ByteList(hp.parser.buffer, at, length)));
req.op_aset(context, runtime.newString("SERVER_PROTOCOL"),runtime.newString("HTTP/1.1")); req.op_aset(context, runtime.newString("SERVER_PROTOCOL"),runtime.newString("HTTP/1.1"));
req.op_aset(context, runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.1.6")); req.op_aset(context, runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.2.0.pre"));
} }
}; };

View file

@ -65,7 +65,7 @@ module Mongrel
REQUEST_URI='REQUEST_URI'.freeze REQUEST_URI='REQUEST_URI'.freeze
REQUEST_PATH='REQUEST_PATH'.freeze REQUEST_PATH='REQUEST_PATH'.freeze
MONGREL_VERSION = VERSION = "1.1.6".freeze MONGREL_VERSION = VERSION = "1.2.0.pre".freeze
MONGREL_TMP_BASE="mongrel".freeze MONGREL_TMP_BASE="mongrel".freeze