Skip to content

Commit

Permalink
Merge pull request #510 from edwintorok/unix-packets
Browse files Browse the repository at this point in the history
mirage-unix: increase TCP receive buffer size
  • Loading branch information
hannesm authored Dec 20, 2023
2 parents 4f40f81 + 9d7fb79 commit 75382e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stack-unix/tcp_socket.ml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let disconnect _ =
return_unit

let read fd =
let buflen = 4096 in
let buflen = 65536 in
let buf = Cstruct.create buflen in
Lwt.catch (fun () ->
Lwt_cstruct.read fd buf
Expand Down

0 comments on commit 75382e2

Please sign in to comment.