notroj / neon

neon - an HTTP/1.1 and WebDAV client library with a C API
https://notroj.github.io/neon/
130 stars 33 forks source link

Add ne_getbuf(). #133

Open notroj opened 10 months ago

notroj commented 10 months ago
* src/ne_basic.c (ne_getbuf),
* src/ne_basic.h (ne_getbuf): New function.

* test/basic.c (getbuf, getbuf2): New tests.

* test/common/child.c (new_spawn_server2): Close listening socket once last accept() is done.