diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/http11/http11.c | 2 | ||||
-rw-r--r-- | ext/http11_java/org/jruby/mongrel/Http11.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/http11/http11.c b/ext/http11/http11.c index 6603745..2982467 100644 --- a/ext/http11/http11.c +++ b/ext/http11/http11.c @@ -384,7 +384,7 @@ void Init_http11() 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 1.1.3"); /* XXX Why is this defined here? */ + DEF_GLOBAL(mongrel_version, "Mongrel 1.2.0"); /* XXX Why is this defined here? */ DEF_GLOBAL(server_software, "SERVER_SOFTWARE"); DEF_GLOBAL(port_80, "80"); diff --git a/ext/http11_java/org/jruby/mongrel/Http11.java b/ext/http11_java/org/jruby/mongrel/Http11.java index 68cb665..3a6699e 100644 --- a/ext/http11_java/org/jruby/mongrel/Http11.java +++ b/ext/http11_java/org/jruby/mongrel/Http11.java @@ -215,7 +215,7 @@ public class Http11 extends RubyObject { req.setInstanceVariable("@http_body", RubyString.newString(runtime, new ByteList(hp.parser.buffer, at, length))); req.aset(runtime.newString("SERVER_PROTOCOL"),runtime.newString("HTTP/1.1")); - req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.1.3")); + req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.2.0")); } }; |