RFC793指出,在接收方,传入段在以下检查后被接受:
The first part of this test checks to see if the beginning of the segment
falls in the window, the second part of the test checks to see if the end of
the segment falls in the window; if the segment passes either part of the
test it contains data in the window.
但是,可能存在段的开头落在窗口中,而段的结尾不在窗口中的情况。这是窗口中仍有空间但段大小比缓冲区中的剩余空间长的情况。如果是这种情况怎么办——会发生什么?
TCP 是否丢弃该段?或者它是否根据最大段大小安排缓冲区,以便它可以使用这些部分段?
TIA。