diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index dc38bada..c939d3e2 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -994,6 +994,11 @@ struct MHD_Connection | |||
994 | MHD_socket socket_fd; | 994 | MHD_socket socket_fd; |
995 | 995 | ||
996 | /** | 996 | /** |
997 | * true if #socket_fd is a UNIX domain socket, false (TCP) otherwise. | ||
998 | */ | ||
999 | bool is_unix; | ||
1000 | |||
1001 | /** | ||
997 | * true if #socket_fd is non-blocking, false otherwise. | 1002 | * true if #socket_fd is non-blocking, false otherwise. |
998 | */ | 1003 | */ |
999 | bool sk_nonblck; | 1004 | bool sk_nonblck; |
@@ -1459,11 +1464,17 @@ struct MHD_Daemon | |||
1459 | int epoll_fd; | 1464 | int epoll_fd; |
1460 | 1465 | ||
1461 | /** | 1466 | /** |
1462 | * true if the listen socket is in the 'epoll' set, | 1467 | * true if the @e listen_fd socket is in the 'epoll' set, |
1463 | * false if not. | 1468 | * false if not. |
1464 | */ | 1469 | */ |
1465 | bool listen_socket_in_epoll; | 1470 | bool listen_socket_in_epoll; |
1466 | 1471 | ||
1472 | /** | ||
1473 | * true if the @e listen_fd socket is a UNIX domain socket, | ||
1474 | * false if not. | ||
1475 | */ | ||
1476 | bool listen_is_unix; | ||
1477 | |||
1467 | #ifdef UPGRADE_SUPPORT | 1478 | #ifdef UPGRADE_SUPPORT |
1468 | #ifdef HTTPS_SUPPORT | 1479 | #ifdef HTTPS_SUPPORT |
1469 | /** | 1480 | /** |