nuttx icon indicating copy to clipboard operation
nuttx copied to clipboard

TCP retransmition is not correct

Open ChenChuang-23 opened this issue 1 year ago • 2 comments

Description / Steps to reproduce the issue

tcp retransmission has an exponential regression mechanism. For example, if no ack is received for 1.5 seconds, the first retransmission will be sent. If no ack is received, the second retransmission will be generated after 3s. If an ack is received, the exponential retreat timer resets. But timing doesn't work that way. After receiving an ack for the first retransmission, no reset was performed. The tcp interval becomes larger when the subsequent transmission becomes retransmission.

On which OS does this issue occur?

[Linux]

What is the version of your OS?

ubuntu22.04

NuttX Version

unkown

Issue Architecture

[arm]

Issue Area

[Networking]

Verification

  • [X] I have verified before submitting the report.

ChenChuang-23 avatar Aug 26 '24 02:08 ChenChuang-23

@wengzhe please take a look

acassis avatar Aug 27 '24 22:08 acassis

@Meissi-jian Do you have any idea about this? I saw you were modifying retransmission these days https://github.com/apache/nuttx/pull/13120

wengzhe avatar Sep 02 '24 03:09 wengzhe

@ChenChuang-23 You can have a try with https://github.com/apache/nuttx/pull/15118 . And I think it will resolve you probrem.

Meissi-jian avatar Dec 10 '24 12:12 Meissi-jian