lib/rainbows/base.rb in rainbows-0.92.0 vs lib/rainbows/base.rb in rainbows-0.93.0
- old
+ new
@@ -47,9 +47,11 @@
ensure
body.respond_to?(:close) and body.close
end
end
+ module_function :write_body
+
# once a client is accepted, it is processed in its entirety here
# in 3 easy steps: read request, call app, write app response
# this is used by synchronous concurrency models
# Base, ThreadSpawn, ThreadPool
def process_client(client)