salmanahmad / silo

The Silo Programming Language
0 stars 0 forks source link

Support "Blocking" HTTP semantics. #118

Open salmanahmad opened 10 years ago

salmanahmad commented 10 years ago

Right now, all HTTP methods use c.context#writeAndFlush(response). It does not wait for the operation to actually finish. I'm not sure if this is the right thing to do.

Either I should use addListener to wait for the operation to finish? As an alternative, perhaps this is a great opportunity to return a future.