File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def announce(options, backends)
71
71
options . default = 'default'
72
72
@log . info " +- Daemonizing: #{ options [ :daemonize ] } "
73
73
@log . info " |- Port: #{ options [ :port ] } "
74
- @log . info " |- Host: #{ options [ :hostname ] } "
74
+ @log . info " |- Host: #{ options [ :host ] } "
75
75
@log . info " |- Pidfile: #{ options [ :pidfile ] } " if options [ :pidfile ]
76
76
@log . info " |- Server: #{ options [ :server ] } "
77
77
@log . info ' `- Backends:'
@@ -84,7 +84,7 @@ def start(server, options)
84
84
FileUtils . mkdir_p File . dirname ( options [ :pidfile ] ) if options [ :pidfile ]
85
85
Rack ::Server . start (
86
86
:app => server ,
87
- :Host => options [ :hostname ] ,
87
+ :Host => options [ :host ] ,
88
88
:Port => options [ :port ] ,
89
89
:server => options [ :server ] ,
90
90
:daemonize => options [ :daemonize ] ,
Original file line number Diff line number Diff line change 24
24
"Connection: close\r \n "
25
25
socket . print "\r \n "
26
26
# To simulate network lag
27
- sleep 0.01
27
+ sleep 0.05
28
28
socket . print response
29
29
socket . close
30
30
end
You can’t perform that action at this time.
0 commit comments