diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-03-01 15:09:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-03-01 15:09:14 +0000 |
commit | 260dd93fdabe89e8c715286c20e23124a79c2b54 (patch) | |
tree | bca1fd848f95def607f35e1dabad90eab106e7b0 /src/daemon/internal.h | |
parent | d4a325b3edd24ba5ac1957898fd089b3a810a84f (diff) | |
download | libmicrohttpd-260dd93fdabe89e8c715286c20e23124a79c2b54.tar.gz libmicrohttpd-260dd93fdabe89e8c715286c20e23124a79c2b54.zip |
enable poll more broadly, fix timeout, use pipe instead of signal
Diffstat (limited to 'src/daemon/internal.h')
-rw-r--r-- | src/daemon/internal.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/internal.h b/src/daemon/internal.h index 9a3eb8cb..ee499cef 100644 --- a/src/daemon/internal.h +++ b/src/daemon/internal.h | |||
@@ -857,6 +857,11 @@ struct MHD_Daemon | |||
857 | int socket_fd; | 857 | int socket_fd; |
858 | 858 | ||
859 | /** | 859 | /** |
860 | * Pipe we use to signal shutdown. | ||
861 | */ | ||
862 | int wpipe[2]; | ||
863 | |||
864 | /** | ||
860 | * Are we shutting down? | 865 | * Are we shutting down? |
861 | */ | 866 | */ |
862 | int shutdown; | 867 | int shutdown; |