diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index adb69b32..37f38eea 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -706,31 +706,33 @@ enum MHD_CONNECTION_STATE | |||
706 | MHD_CONNECTION_CHUNKED_BODY_READY = MHD_CONNECTION_CHUNKED_BODY_UNREADY + 1, | 706 | MHD_CONNECTION_CHUNKED_BODY_READY = MHD_CONNECTION_CHUNKED_BODY_UNREADY + 1, |
707 | 707 | ||
708 | /** | 708 | /** |
709 | * We have sent the response body. Prepare the footers. | 709 | * We have sent the chunked response body. Prepare the footers. |
710 | */ | 710 | */ |
711 | MHD_CONNECTION_BODY_SENT = MHD_CONNECTION_CHUNKED_BODY_READY + 1, | 711 | MHD_CONNECTION_CHUNKED_BODY_SENT = MHD_CONNECTION_CHUNKED_BODY_READY + 1, |
712 | 712 | ||
713 | /** | 713 | /** |
714 | * We have prepared the response footer. Send it. | 714 | * We have prepared the response footer. Send it. |
715 | */ | 715 | */ |
716 | MHD_CONNECTION_FOOTERS_SENDING = MHD_CONNECTION_BODY_SENT + 1, | 716 | MHD_CONNECTION_FOOTERS_SENDING = MHD_CONNECTION_CHUNKED_BODY_SENT + 1, |
717 | 717 | ||
718 | /** | 718 | /** |
719 | * We have sent the response footer. Shutdown or restart. | 719 | * We have sent the entire reply. |
720 | * Shutdown connection or restart processing to get a new request. | ||
720 | */ | 721 | */ |
721 | MHD_CONNECTION_FOOTERS_SENT = MHD_CONNECTION_FOOTERS_SENDING + 1, | 722 | MHD_CONNECTION_FULL_REPLY_SENT = MHD_CONNECTION_FOOTERS_SENDING + 1, |
722 | 723 | ||
723 | /** | 724 | /** |
724 | * This connection is to be closed. | 725 | * This connection is to be closed. |
725 | */ | 726 | */ |
726 | MHD_CONNECTION_CLOSED = MHD_CONNECTION_FOOTERS_SENT + 1, | 727 | MHD_CONNECTION_CLOSED = MHD_CONNECTION_FULL_REPLY_SENT + 1 |
727 | 728 | ||
728 | #ifdef UPGRADE_SUPPORT | 729 | #ifdef UPGRADE_SUPPORT |
730 | , | ||
729 | /** | 731 | /** |
730 | * Connection was "upgraded" and socket is now under the | 732 | * Connection was "upgraded" and socket is now under the |
731 | * control of the application. | 733 | * control of the application. |
732 | */ | 734 | */ |
733 | MHD_CONNECTION_UPGRADE | 735 | MHD_CONNECTION_UPGRADE = MHD_CONNECTION_CLOSED + 1 |
734 | #endif /* UPGRADE_SUPPORT */ | 736 | #endif /* UPGRADE_SUPPORT */ |
735 | 737 | ||
736 | } _MHD_FIXED_ENUM; | 738 | } _MHD_FIXED_ENUM; |