瀏覽代碼

Accept non-localhost connections in chicagoboss (#2635)

Without this, the client machine running wrk cannot connect to the
server and so chicagoboss gets zero RPS.

It still seems to have issues with the plaintext test, but this should
at least fix the json test.
Michael Hixson 8 年之前
父節點
當前提交
cc371f7e50
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frameworks/Erlang/chicagoboss/boss.config

+ 1 - 1
frameworks/Erlang/chicagoboss/boss.config

@@ -327,7 +327,7 @@
     %% want to start simple_bridge with application:start(simple_bridge) or
     %% want to start simple_bridge with application:start(simple_bridge) or
     %% simple_bridge:start/0
     %% simple_bridge:start/0
 
 
-    {address, "127.0.0.1"},
+    {address, "0.0.0.0"},
     %% IP address to bind, either in tuple format or string
     %% IP address to bind, either in tuple format or string
     %% use "0.0.0.0" to start on all interfaces available
     %% use "0.0.0.0" to start on all interfaces available