aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/internal.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-09 16:25:02 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-11-10 17:05:35 +0300
commite05239e5c7c6d073fcc2500c59d3b1c39e44169d (patch)
tree104d77699802e44c83b23b143131a7bdd26c87b2 /src/microhttpd/internal.h
parentbe045a04763cabf3c3416427499060a3bf68fd1e (diff)
downloadlibmicrohttpd-e05239e5c7c6d073fcc2500c59d3b1c39e44169d.tar.gz
libmicrohttpd-e05239e5c7c6d073fcc2500c59d3b1c39e44169d.zip
Mark connection as blocking or non-blocking
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r--src/microhttpd/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h
index 2858a347..b6426df0 100644
--- a/src/microhttpd/internal.h
+++ b/src/microhttpd/internal.h
@@ -790,6 +790,11 @@ struct MHD_Connection
790 MHD_socket socket_fd; 790 MHD_socket socket_fd;
791 791
792 /** 792 /**
793 * Non-zero if #socket_fd is non-blocking, zero otherwise.
794 */
795 bool sk_nonblck;
796
797 /**
793 * Has this socket been closed for reading (i.e. other side closed 798 * Has this socket been closed for reading (i.e. other side closed
794 * the connection)? If so, we must completely close the connection 799 * the connection)? If so, we must completely close the connection
795 * once we are done sending our response (and stop trying to read 800 * once we are done sending our response (and stop trying to read