Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

mq_server: set TCP_NODELAY in socket.

  • Loading branch information...
commit fef36b6e3ab5c17e4046f27e1bbaf0d861aed22f 1 parent 35e701b
mfp authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  mq_server.ml
1  mq_server.ml
@@ -575,6 +575,7 @@ let server_loop ?(debug = false) broker =
575 575 let rec loop () =
576 576 (try_lwt
577 577 lwt (fd, addr) = Lwt_unix.accept broker.b_socket in
  578 + Lwt_unix.setsockopt fd Unix.TCP_NODELAY true;
578 579 ignore_result (establish_connection broker fd) addr;
579 580 return ()
580 581 with e ->

0 comments on commit fef36b6

Please sign in to comment.
Something went wrong with that request. Please try again.