Remove begin_transmission API
commiteb87a28b1e30f2303bc5c11684ba50ec87f01427
authorRyan Dahl <ry@lakshmi.local>
Sat, 22 Mar 2008 00:48:31 +0000 (22 01:48 +0100)
committerRyan Dahl <ry@lakshmi.local>
Sat, 22 Mar 2008 00:48:31 +0000 (22 01:48 +0100)
tree80e4a223d3e5c5ab5541ef2f0efce67e400d7a0a
parentcebd9c9cba0549bc78c1459f85e8ea3eb6330771
Remove begin_transmission API

Instead set client->body_written = TRUE when ebb_client_release is called.
In side ebb_client_write_body() we will start the write watcher if it is not
already active and also write \r\n once all the headers are written. This
seems to clean up a lot of mess and confusion.
ruby_lib/ebb.rb
src/ebb.c
src/ebb.h
src/ebb_ruby.c