Mon, 02 May 2022 20:37:13 +0200
fix netbuf_getbytes not detecting EOF in some cases
--- a/src/server/util/netbuf.c Mon May 02 20:26:54 2022 +0200 +++ b/src/server/util/netbuf.c Mon May 02 20:37:13 2022 +0200 @@ -141,6 +141,8 @@ buf->pos += bytes_in_buffer; return bytes_in_buffer; + } else if(buf->pos >= buf->maxsize) { + return NETBUF_EOF; } }