Skip to content

Commit fa6e2e0

Browse files
committed
Enable IPv6 support for HttpServer (Closes: #275)
1 parent 15a83c8 commit fa6e2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jsonrpccpp/server/connectors/httpserver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ bool HttpServer::StartListening() {
5555
(MHD_is_feature_supported(MHD_FEATURE_EPOLL) == MHD_YES);
5656
const bool has_poll =
5757
(MHD_is_feature_supported(MHD_FEATURE_POLL) == MHD_YES);
58-
unsigned int mhd_flags;
58+
unsigned int mhd_flags = MHD_USE_DUAL_STACK;
5959

6060
if (has_epoll)
6161
// In MHD version 0.9.44 the flag is renamed to

0 commit comments

Comments
 (0)