Commits


http: fmt


http: move listen to its own file


un-uglify the route re-entering


http: save the replied code in the reswriter struct


http: fix reswriter_write() return value we "wrote" only len(buf) bytes. Also, since res.dst is a dynstream no short writes can happen.


http: correct/improve README


adapt to http api


http: move mux to its own file; allow to specify the mux per listen


rename client -> connection use consistently `conn' as local variable name


http: add illimitate buffering


http: add a README file


adapt to http api change


http: remove http::error, callbacks now return io::error only Having http::error being io::error plus badrequest was just a hack. There's no need to expose the private error type.


http: remove debug logging


adapt to new http:: API, try crazy stuff