Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/tcp/flow.ml
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,7 @@ struct

(* Maximum allowed write *)
let write_available pcb =
(* Our effective outgoing MTU is what can fit in a page *)
min 4000 (min (Window.tx_mss pcb.wnd)
(Int32.to_int (UTX.available pcb.utx)))
min (Window.tx_mss pcb.wnd) (Int32.to_int (UTX.available pcb.utx))

(* Wait for more write space *)
let write_wait_for pcb sz =
Expand Down