aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r--src/daemon/internal.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h
index 4749d10d..43599149 100644
--- a/src/daemon/internal.h
+++ b/src/daemon/internal.h
@@ -239,12 +239,12 @@ enum MHD_CONNECTION_STATE
239 * 11: We have sent the response headers. Get ready to send the body. 239 * 11: We have sent the response headers. Get ready to send the body.
240 */ 240 */
241 MHD_CONNECTION_HEADERS_SENT = MHD_CONNECTION_HEADERS_SENDING + 1, 241 MHD_CONNECTION_HEADERS_SENT = MHD_CONNECTION_HEADERS_SENDING + 1,
242 242
243 /** 243 /**
244 * 12: We are ready to send a part of a non-chunked body. Send it. 244 * 12: We are ready to send a part of a non-chunked body. Send it.
245 */ 245 */
246 MHD_CONNECTION_NORMAL_BODY_READY = MHD_CONNECTION_HEADERS_SENT + 1, 246 MHD_CONNECTION_NORMAL_BODY_READY = MHD_CONNECTION_HEADERS_SENT + 1,
247 247
248 /** 248 /**
249 * 13: We are waiting for the client to provide more 249 * 13: We are waiting for the client to provide more
250 * data of a non-chunked body. 250 * data of a non-chunked body.
@@ -260,16 +260,16 @@ enum MHD_CONNECTION_STATE
260 * 15: We are waiting for the client to provide a chunk of the body. 260 * 15: We are waiting for the client to provide a chunk of the body.
261 */ 261 */
262 MHD_CONNECTION_CHUNKED_BODY_UNREADY = MHD_CONNECTION_CHUNKED_BODY_READY + 1, 262 MHD_CONNECTION_CHUNKED_BODY_UNREADY = MHD_CONNECTION_CHUNKED_BODY_READY + 1,
263 263
264 /** 264 /**
265 * 16: We have sent the response body. Prepare the footers. 265 * 16: We have sent the response body. Prepare the footers.
266 */ 266 */
267 MHD_CONNECTION_BODY_SENT = MHD_CONNECTION_CHUNKED_BODY_UNREADY + 1, 267 MHD_CONNECTION_BODY_SENT = MHD_CONNECTION_CHUNKED_BODY_UNREADY + 1,
268 268
269 /** 269 /**
270 * 17: We have prepared the response footer. Send it. 270 * 17: We have prepared the response footer. Send it.
271 */ 271 */
272 MHD_CONNECTION_FOOTERS_SENDING = MHD_CONNECTION_BODY_SENT + 1, 272 MHD_CONNECTION_FOOTERS_SENDING = MHD_CONNECTION_BODY_SENT + 1,
273 273
274 /** 274 /**
275 * 18: We have sent the response footer. Shutdown or restart. 275 * 18: We have sent the response footer. Shutdown or restart.
@@ -281,7 +281,7 @@ enum MHD_CONNECTION_STATE
281 * allowed). 281 * allowed).
282 */ 282 */
283 MHD_CONNECTION_CLOSED = MHD_CONNECTION_FOOTERS_SENT + 1, 283 MHD_CONNECTION_CLOSED = MHD_CONNECTION_FOOTERS_SENT + 1,
284 284
285}; 285};
286 286
287struct MHD_Connection 287struct MHD_Connection
@@ -367,7 +367,7 @@ struct MHD_Connection
367 char *last; 367 char *last;
368 368
369 /** 369 /**
370 * Position after the colon on the last incomplete header 370 * Position after the colon on the last incomplete header
371 * line during parsing of headers. 371 * line during parsing of headers.
372 * Allocated in pool. Only valid if state is 372 * Allocated in pool. Only valid if state is
373 * either HEADER_PART_RECEIVED or FOOTER_PART_RECEIVED. 373 * either HEADER_PART_RECEIVED or FOOTER_PART_RECEIVED.
@@ -389,7 +389,7 @@ struct MHD_Connection
389 /** 389 /**
390 * Size of read_buffer (in bytes). This value indicates 390 * Size of read_buffer (in bytes). This value indicates
391 * how many bytes we're willing to read into the buffer; 391 * how many bytes we're willing to read into the buffer;
392 * the real buffer is one byte longer to allow for 392 * the real buffer is one byte longer to allow for
393 * adding zero-termination (when needed). 393 * adding zero-termination (when needed).
394 */ 394 */
395 size_t read_buffer_size; 395 size_t read_buffer_size;
@@ -419,7 +419,7 @@ struct MHD_Connection
419 /** 419 /**
420 * How many more bytes of the body do we expect 420 * How many more bytes of the body do we expect
421 * to read? "-1" for unknown. 421 * to read? "-1" for unknown.
422 */ 422 */
423 size_t remaining_upload_size; 423 size_t remaining_upload_size;
424 424
425 /** 425 /**
@@ -476,7 +476,7 @@ struct MHD_Connection
476 /** 476 /**
477 * Set to MHD_YES if the response's content reader 477 * Set to MHD_YES if the response's content reader
478 * callback failed to provide data the last time 478 * callback failed to provide data the last time
479 * we tried to read from it. In that case, the 479 * we tried to read from it. In that case, the
480 * write socket should be marked as unready until 480 * write socket should be marked as unready until
481 * the CRC call succeeds. 481 * the CRC call succeeds.
482 */ 482 */
@@ -525,7 +525,7 @@ struct MHD_Daemon
525 /** 525 /**
526 * Closure argument to default_handler. 526 * Closure argument to default_handler.
527 */ 527 */
528 void * default_handler_cls; 528 void *default_handler_cls;
529 529
530 /** 530 /**
531 * Linked list of our current connections. 531 * Linked list of our current connections.