diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 7a1e58e1..9549b19a 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h @@ -1036,6 +1036,13 @@ struct MHD_UpgradeResponseHandle * nothing left. */ char e_buf[RESERVE_EBUF_SIZE]; + + /** + * Set to #MHD_YES after the application closed the socket + * via #MHD_UPGRADE_ACTION_CLOSE. + */ + int was_closed; + #endif }; |