From 209f6d938f277584970f594dfccd1b7925f8c850 Mon Sep 17 00:00:00 2001 From: Matt Witherspoon <32485495+spoonincode@users.noreply.github.com> Date: Sun, 22 Sep 2019 11:18:48 -0400 Subject: [PATCH] support unix socket HTTP server for nodeos --- plugins/http_plugin/http_plugin.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/http_plugin/http_plugin.cpp b/plugins/http_plugin/http_plugin.cpp index fcbb847bfdc..0ab7653b7af 100644 --- a/plugins/http_plugin/http_plugin.cpp +++ b/plugins/http_plugin/http_plugin.cpp @@ -392,6 +392,10 @@ namespace eosio { cfg.add_options() ("unix-socket-path", bpo::value()->default_value(current_http_plugin_defaults.default_unix_socket_path), "The filename (relative to data-dir) to create a unix socket for HTTP RPC; set blank to disable."); + else + cfg.add_options() + ("unix-socket-path", bpo::value(), + "The filename (relative to data-dir) to create a unix socket for HTTP RPC; set blank to disable."); #endif if(current_http_plugin_defaults.default_http_port)