diff options
Diffstat (limited to 'src/mochiweb/mochiweb_socket_server.erl')
-rw-r--r-- | src/mochiweb/mochiweb_socket_server.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mochiweb/mochiweb_socket_server.erl b/src/mochiweb/mochiweb_socket_server.erl index a88ace76..0d538ac9 100644 --- a/src/mochiweb/mochiweb_socket_server.erl +++ b/src/mochiweb/mochiweb_socket_server.erl @@ -103,7 +103,8 @@ init(State=#mochiweb_socket_server{ip=Ip, port=Port, backlog=Backlog}) -> {packet, 0}, {backlog, Backlog}, {recbuf, 8192}, - {active, false}], + {active, false}, + {nodelay, true}], Opts = case Ip of any -> BaseOpts; |