diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 48da46d3..c47ed06d 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -1098,27 +1098,27 @@ struct MHD_UpgradeResponseHandle | |||
1098 | volatile bool was_closed; | 1098 | volatile bool was_closed; |
1099 | 1099 | ||
1100 | /** | 1100 | /** |
1101 | * Set to #MHD_YES if connection is ready for cleanup. | 1101 | * Set to true if connection is ready for cleanup. |
1102 | * | 1102 | * |
1103 | * In TLS mode functions #MHD_connection_finish_forward_() must | 1103 | * In TLS mode functions #MHD_connection_finish_forward_() must |
1104 | * be called before setting this flag to #MHD_YES. | 1104 | * be called before setting this flag to true. |
1105 | * | 1105 | * |
1106 | * In thread-per-connection mode #MHD_YES in this flag means | 1106 | * In thread-per-connection mode, true in this flag means |
1107 | * that connection's thread exited or about to exit and will | 1107 | * that connection's thread exited or about to exit and will |
1108 | * not use MHD_Connection::urh data anymore. | 1108 | * not use MHD_Connection::urh data anymore. |
1109 | * | 1109 | * |
1110 | * In any mode #MHD_YES in this flag also means that | 1110 | * In any mode true in this flag also means that |
1111 | * MHD_Connection::urh data will not be used for socketpair | 1111 | * MHD_Connection::urh data will not be used for socketpair |
1112 | * forwarding and forwarding itself is finished. | 1112 | * forwarding and forwarding itself is finished. |
1113 | * | 1113 | * |
1114 | * When BOTH @e was_closed (changed by command from application) | 1114 | * When BOTH @e was_closed (changed by command from application) |
1115 | * AND @e clean_ready (changed internally by MHD) are set to | 1115 | * AND @e clean_ready (changed internally by MHD) are set to |
1116 | * #MHD_YES, function #MHD_resume_connection() will move this | 1116 | * true, function #MHD_resume_connection() will move this |
1117 | * connection to cleanup list. | 1117 | * connection to cleanup list. |
1118 | * @remark This flag could be changed from thread that process | 1118 | * @remark This flag could be changed from thread that process |
1119 | * connection's recv(), send() and response. | 1119 | * connection's recv(), send() and response. |
1120 | */ | 1120 | */ |
1121 | int clean_ready; | 1121 | bool clean_ready; |
1122 | }; | 1122 | }; |
1123 | #endif /* UPGRADE_SUPPORT */ | 1123 | #endif /* UPGRADE_SUPPORT */ |
1124 | 1124 | ||