about summary refs log tree commit homepage
path: root/ext
diff options
context:
space:
mode:
authorIan Ownbey <ian@inspir.es>2009-01-31 22:10:56 -0800
committerIan Ownbey <ian@inspir.es>2009-01-31 22:10:56 -0800
commit77123838e7a6110e684353aea3443b2bffe7d731 (patch)
tree7d1315c01857ab0551eadf7a6f71984a5af328a9 /ext
parentfdf376b0da0032390c0e5dd0cf17b597231eba07 (diff)
parent108218a89c663af1c14cc6ff376464e71639f974 (diff)
downloadunicorn-77123838e7a6110e684353aea3443b2bffe7d731.tar.gz
* 'master' of git@github.com:fauna/mongrel:
  Clean up some logging.
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"));
             }
         };