This commit is contained in:
Theo Julienne 2015-11-28 17:39:36 -08:00
Родитель 34e5e2185d
Коммит 7ebe3b731a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -25,4 +25,4 @@ server = MultiBinder.bind '127.0.0.1', 8000
# ... server.accept ...
```
The socket has close-on-exec disabled and is ready to be used in Ruby or passed on to a real service like haproxy. For an example of using multibinder with haproxy, see [the haproxy test shim](https://github.com/theojulienne/multibinder/blob/master/test/haproxy_shim.rb).
The socket has close-on-exec disabled and is ready to be used in Ruby or passed on to a real service like haproxy via spawn/exec. For an example of using multibinder with haproxy (there are a couple of tricks), see [the haproxy test shim](https://github.com/theojulienne/multibinder/blob/master/test/haproxy_shim.rb).