diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 483f2fb1..6d9fa67d 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -2004,8 +2004,9 @@ enum MHD_RequestTerminationCode | |||
2004 | 2004 | ||
2005 | /** | 2005 | /** |
2006 | * Error handling the connection (resources | 2006 | * Error handling the connection (resources |
2007 | * exhausted, other side closed connection, | 2007 | * exhausted, application error accepting request, |
2008 | * application error accepting request, etc.) | 2008 | * decrypt error (for HTTPS), connection died when |
2009 | * sending the response etc.) | ||
2009 | * @ingroup request | 2010 | * @ingroup request |
2010 | */ | 2011 | */ |
2011 | MHD_REQUEST_TERMINATED_WITH_ERROR = 1, | 2012 | MHD_REQUEST_TERMINATED_WITH_ERROR = 1, |
@@ -2026,19 +2027,18 @@ enum MHD_RequestTerminationCode | |||
2026 | MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN = 3, | 2027 | MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN = 3, |
2027 | 2028 | ||
2028 | /** | 2029 | /** |
2029 | * We tried to read additional data, but the other side closed the | 2030 | * We tried to read additional data, but the connection became broken or |
2030 | * connection. This error is similar to | 2031 | * the other side hard closed the connection. |
2031 | * #MHD_REQUEST_TERMINATED_WITH_ERROR, but specific to the case where | 2032 | * This error is similar to #MHD_REQUEST_TERMINATED_WITH_ERROR, but |
2032 | * the connection died because the other side did not send expected | 2033 | * specific to the case where the connection died before request completely |
2033 | * data. | 2034 | * received. |
2034 | * @ingroup request | 2035 | * @ingroup request |
2035 | */ | 2036 | */ |
2036 | MHD_REQUEST_TERMINATED_READ_ERROR = 4, | 2037 | MHD_REQUEST_TERMINATED_READ_ERROR = 4, |
2037 | 2038 | ||
2038 | /** | 2039 | /** |
2039 | * The client terminated the connection by closing the socket | 2040 | * The client terminated the connection by closing the socket |
2040 | * for writing (TCP half-closed); MHD aborted sending the | 2041 | * for writing (TCP half-closed) while still sending request. |
2041 | * response according to RFC 2616, section 8.1.4. | ||
2042 | * @ingroup request | 2042 | * @ingroup request |
2043 | */ | 2043 | */ |
2044 | MHD_REQUEST_TERMINATED_CLIENT_ABORT = 5 | 2044 | MHD_REQUEST_TERMINATED_CLIENT_ABORT = 5 |