Commits


http: don't chunk if it is disabled HTTP/1.0 doesn't support chunking


http: add the other methods


start to use the http APIs


import http module Still very WIP and the current API will be subject to changes, but it's enough to be imported in the main tree.


ev: add a simple README


catch SIGINT and SIGTERM; for now do nothing and just quit


ev: add signal() to catch signals safely too Uses the 'self-pipe trick' to catch and process signals outside of the signal environment. A few XXX remains, but this is good enough to hit the tree.


ev: move some functions to ev/global.ha Move there functions that relies on the global event loop.


adapt to new ev API


ev: fmt


ev: add loopbreak to the API


ev: rework the API Allow to create custom event loops, but still retain the possibility to just use a global one.


ev: remove unnecessary check


shinsha: adapt from ev::any change


ev: inline use nullable *opaque instead of ev::any ev::any was just to save some typing; not sure it's worth it. Can be easily confused with ev::READ and ev::WRITE.