Commits


bufio: rename pflags -> wantev


bufio: add buf_getdelim will help simplifying a bit in net.c, and it's generally useful.


decouple bufio from ev more a matter of cleanliness than a strong reason, but this allows to reuse bufio without ev (if wanted to.)


bufio: add bufio_drain()


bufio: add bufio_handshake to control the TLS handshake


bufio: fix bufio_read for TLS


bufio: add support for client certificates


bufio: add bufio_close()


bufio: provide bufio_free()


bufio: convert to new ev' EV_* event types unfortunate, but a small coupling with either poll(2) or ev is needed.


import bufio from syncparty