diff -r c7f5b062e622 -r 14722c5f8856 src/server/util/io.h --- a/src/server/util/io.h Wed May 22 13:27:31 2013 +0200 +++ b/src/server/util/io.h Wed May 22 15:05:06 2013 +0200 @@ -59,6 +59,8 @@ int fd; size_t max_read; size_t rd; + int chunkedenc; + int buffered; } NetIOStream; @@ -88,10 +90,10 @@ /* net stream */ IOStream* net_stream_from_fd(pool_handle_t *pool, int fd); -ssize_t net_stream_write(IOStream *st, void *buf, size_t nbytes); -ssize_t net_stream_writev(IOStream *st, struct iovec *iovec, int iovcnt); -ssize_t net_stream_read(IOStream *st, void *buf, size_t nbytes); -ssize_t net_stream_sendfile(IOStream *st, sendfiledata *sfd); +ssize_t net_stream_write(NetIOStream *st, void *buf, size_t nbytes); +ssize_t net_stream_writev(NetIOStream *st, struct iovec *iovec, int iovcnt); +ssize_t net_stream_read(NetIOStream *st, void *buf, size_t nbytes); +ssize_t net_stream_sendfile(NetIOStream *st, sendfiledata *sfd); /* iovec buffer */ iovec_buf_t *iovec_buf_create(pool_handle_t *pool);