use dual stack for exchange

This commit is contained in:
Christian Grothoff 2017-12-12 19:28:14 +01:00
parent cf9e5efbfb
commit 2a62f13998
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1093,7 +1093,7 @@ main (int argc,
}
mhd
= MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_PIPE_FOR_SHUTDOWN | MHD_USE_DEBUG,
= MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_PIPE_FOR_SHUTDOWN | MHD_USE_DEBUG | MHD_USE_DUAL_STACK,
(-1 == fh) ? serve_port : 0,
NULL, NULL,
&handle_mhd_request, NULL,