diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-29 11:55:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-29 11:55:38 +0000 |
commit | 6842307f205b5858401f42f844aa775b3b7c5d79 (patch) | |
tree | 3519e88b382b39edbe3e3be32430c435235c1688 /src/include/microhttpd.h | |
parent | bdcf885cb3440d37f0379d2f7a38021424ff25cc (diff) | |
download | libmicrohttpd-6842307f205b5858401f42f844aa775b3b7c5d79.tar.gz libmicrohttpd-6842307f205b5858401f42f844aa775b3b7c5d79.zip |
-fixing bugs with missing shutdown callbacks
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index fc519185..4346eda9 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -702,7 +702,16 @@ enum MHD_RequestTerminationCode | |||
702 | * We had to close the session since MHD was being | 702 | * We had to close the session since MHD was being |
703 | * shut down. | 703 | * shut down. |
704 | */ | 704 | */ |
705 | MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN = 3 | 705 | MHD_REQUEST_TERMINATED_DAEMON_SHUTDOWN = 3, |
706 | |||
707 | /** | ||
708 | * We tried to read additional data, but the other side closed the | ||
709 | * connection. This error is similar to | ||
710 | * MHD_REQUEST_TERMINATED_WITH_ERROR, but specific to the case where | ||
711 | * the connection died because the other side did not send expected | ||
712 | * data. | ||
713 | */ | ||
714 | MHD_REQUEST_TERMINATED_READ_ERROR = 4 | ||
706 | 715 | ||
707 | }; | 716 | }; |
708 | 717 | ||