commit 34067a4a2cbb341bef58b6510565429557b539e3
parent 60e3c37d3248b6153041efa04b0ab068bd1f78c7
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 20 Sep 2012 13:40:27 +0000
-remark
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/daemon/connection.c b/src/daemon/connection.c
@@ -1637,6 +1637,7 @@ do_write (struct MHD_Connection *connection)
return MHD_YES;
}
+
/**
* Check if we are done sending the write-buffer.
* If so, transition into "next_state".
@@ -1659,6 +1660,7 @@ check_write_done (struct MHD_Connection *connection,
return MHD_YES;
}
+
/**
* We have received (possibly the beginning of) a line in the
* header (or footer). Validate (check for ":") and prepare
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -266,6 +266,7 @@ extern "C"
#define MHD_HTTP_HEADER_PROXY_AUTHENTICATE "Proxy-Authenticate"
#define MHD_HTTP_HEADER_PROXY_AUTHORIZATION "Proxy-Authorization"
#define MHD_HTTP_HEADER_RANGE "Range"
+/* This is not a typo, see HTTP spec */
#define MHD_HTTP_HEADER_REFERER "Referer"
#define MHD_HTTP_HEADER_RETRY_AFTER "Retry-After"
#define MHD_HTTP_HEADER_SERVER "Server"