aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/internal.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-08-31 20:46:42 +0000
committerChristian Grothoff <christian@grothoff.org>2007-08-31 20:46:42 +0000
commitbdeb54afcc25e616a1ed534432dadb8084b000c6 (patch)
tree59034781a62672cc3c1322a22502081490438c1e /src/daemon/internal.h
parent5dcea7446826605c1dd7c7d65aa5dc57eb64547a (diff)
downloadlibmicrohttpd-bdeb54afcc25e616a1ed534432dadb8084b000c6.tar.gz
libmicrohttpd-bdeb54afcc25e616a1ed534432dadb8084b000c6.zip
fix
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r--src/daemon/internal.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
index b6f8336e..125755d2 100644
--- a/src/daemon/internal.h
+++ b/src/daemon/internal.h
@@ -230,7 +230,9 @@ struct MHD_Connection
230 230
231 /** 231 /**
232 * Buffer for reading requests. Allocated 232 * Buffer for reading requests. Allocated
233 * in pool. 233 * in pool. Actually one byte larger than
234 * read_buffer_size (if non-NULL) to allow for
235 * 0-termination.
234 */ 236 */
235 char *read_buffer; 237 char *read_buffer;
236 238
@@ -253,7 +255,10 @@ struct MHD_Connection
253 pthread_t pid; 255 pthread_t pid;
254 256
255 /** 257 /**
256 * Size of read_buffer (in bytes). 258 * Size of read_buffer (in bytes). This value indicates
259 * how many bytes we're willing to read into the buffer;
260 * the real buffer is one byte longer to allow for
261 * adding zero-termination (when needed).
257 */ 262 */
258 size_t read_buffer_size; 263 size_t read_buffer_size;
259 264