Changeset 980
- Timestamp:
- 02/23/08 14:48:53 (6 months ago)
- Files:
-
- branches/stable_1-1/ext/http11/http11.c (modified) (1 diff)
- branches/stable_1-1/ext/http11_java/org/jruby/mongrel/Http11.java (modified) (1 diff)
- branches/stable_1-1/lib/mongrel/const.rb (modified) (1 diff)
- branches/stable_1-2/ext/http11/http11.c (modified) (1 diff)
- branches/stable_1-2/ext/http11_java/org/jruby/mongrel/Http11.java (modified) (1 diff)
- branches/stable_1-2/lib/mongrel/const.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/stable_1-1/ext/http11/http11.c
r933 r980 385 385 DEF_GLOBAL(server_protocol_value, "HTTP/1.1"); 386 386 DEF_GLOBAL(http_host, "HTTP_HOST"); 387 DEF_GLOBAL(mongrel_version, "Mongrel 1.1. 3"); /* XXX Why is this defined here? */387 DEF_GLOBAL(mongrel_version, "Mongrel 1.1.4"); /* XXX Why is this defined here? */ 388 388 DEF_GLOBAL(server_software, "SERVER_SOFTWARE"); 389 389 DEF_GLOBAL(port_80, "80"); branches/stable_1-1/ext/http11_java/org/jruby/mongrel/Http11.java
r943 r980 216 216 req.setInstanceVariable("@http_body", RubyString.newString(runtime, new ByteList(hp.parser.buffer, at, length))); 217 217 req.aset(runtime.newString("SERVER_PROTOCOL"),runtime.newString("HTTP/1.1")); 218 req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.1. 3"));218 req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.1.4")); 219 219 } 220 220 }; branches/stable_1-1/lib/mongrel/const.rb
r943 r980 66 66 REQUEST_PATH='REQUEST_PATH'.freeze 67 67 68 MONGREL_VERSION="1.1. 3".freeze68 MONGREL_VERSION="1.1.4".freeze 69 69 70 70 MONGREL_TMP_BASE="mongrel".freeze branches/stable_1-2/ext/http11/http11.c
r933 r980 385 385 DEF_GLOBAL(server_protocol_value, "HTTP/1.1"); 386 386 DEF_GLOBAL(http_host, "HTTP_HOST"); 387 DEF_GLOBAL(mongrel_version, "Mongrel 1. 1.3"); /* XXX Why is this defined here? */387 DEF_GLOBAL(mongrel_version, "Mongrel 1.2.0"); /* XXX Why is this defined here? */ 388 388 DEF_GLOBAL(server_software, "SERVER_SOFTWARE"); 389 389 DEF_GLOBAL(port_80, "80"); branches/stable_1-2/ext/http11_java/org/jruby/mongrel/Http11.java
r943 r980 216 216 req.setInstanceVariable("@http_body", RubyString.newString(runtime, new ByteList(hp.parser.buffer, at, length))); 217 217 req.aset(runtime.newString("SERVER_PROTOCOL"),runtime.newString("HTTP/1.1")); 218 req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1. 1.3"));218 req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 1.2.0")); 219 219 } 220 220 }; branches/stable_1-2/lib/mongrel/const.rb
r943 r980 66 66 REQUEST_PATH='REQUEST_PATH'.freeze 67 67 68 MONGREL_VERSION="1. 1.3".freeze68 MONGREL_VERSION="1.2.0".freeze 69 69 70 70 MONGREL_TMP_BASE="mongrel".freeze
