diff options
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 9 |
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 | ||