about summary refs log tree commit homepage
path: root/ext
diff options
context:
space:
mode:
authorEvan Weaver <eweaver@twitter.com>2009-01-31 22:09:10 -0800
committerEvan Weaver <eweaver@twitter.com>2009-01-31 22:09:10 -0800
commit108218a89c663af1c14cc6ff376464e71639f974 (patch)
treefab90de61d118e0b05879631c9b1a6e2aa608032 /ext
parentd426c68c11d5733dd4462caafe92b28f436f30e7 (diff)
downloadunicorn-108218a89c663af1c14cc6ff376464e71639f974.tar.gz
Diffstat (limited to 'ext')
-rw-r--r--ext/http11_java/org/jruby/mongrel/Http11.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/http11_java/org/jruby/mongrel/Http11.java b/ext/http11_java/org/jruby/mongrel/Http11.java
index 3dbfdd6..4ab5c7f 100644
--- a/ext/http11_java/org/jruby/mongrel/Http11.java
+++ b/ext/http11_java/org/jruby/mongrel/Http11.java
@@ -213,9 +213,9 @@ public class Http11 extends RubyObject {
                     }
                 }
 
-                req.setInstanceVariable("@http_body", RubyString.newString(runtime, new ByteList(hp.parser.buffer, at, length)));
+                req.aset(runtime.newString("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.2.0"));
+                req.aset(runtime.newString("SERVER_SOFTWARE"),runtime.newString("Mongrel 2.0"));
             }
         };