Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

mq_server: set TCP_NODELAY in socket.

  • Loading branch information...
commit fef36b6e3ab5c17e4046f27e1bbaf0d861aed22f 1 parent 35e701b
mfp authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  mq_server.ml
1  mq_server.ml
View
@@ -575,6 +575,7 @@ let server_loop ?(debug = false) broker =
let rec loop () =
(try_lwt
lwt (fd, addr) = Lwt_unix.accept broker.b_socket in
+ Lwt_unix.setsockopt fd Unix.TCP_NODELAY true;
ignore_result (establish_connection broker fd) addr;
return ()
with e ->
Please sign in to comment.
Something went wrong with that request. Please try again.