cnp3/ebook

Ambiguity in Nagle Algorithm

Closed this issue · 0 comments

send one TCP segment containing all buffered data

I think this sentence should be replaced with "send one TCP segment containing at most rcv.wnd data", since the "if" can be false when rcv.wnd < MSS but len(data) >= MSS, and in that case, you don't want to send all buffered data, but only up to what the window allows.