about summary refs log tree commit homepage
path: root/lib/yahns/the_metal.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/yahns/the_metal.rb')
-rw-r--r--lib/yahns/the_metal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/yahns/the_metal.rb b/lib/yahns/the_metal.rb
index 55621ec..4d96bb7 100644
--- a/lib/yahns/the_metal.rb
+++ b/lib/yahns/the_metal.rb
@@ -69,7 +69,7 @@ class Yahns::TheMetal # :nodoc:
       req = TheMetal::Request.new(env)
       out = OutSock.new(self, persist)
       res = TheMetal::Response.new(200, headers, out)
-      k.app.serve(req, res) # may raise during OutSock#write
+      k.app.call(req, res) # may raise during OutSock#write
 
       if wbuf = out.wbuf
         # we may need to wait for writability: