Skip to content

Conversation

@congnguyen-renesas
Copy link

No description provided.

@canhphan-renesas
Copy link

The background for change is:

  • The old line LWIPERF_FREE(lwiperf_state_tcp_t, dealloc); /* @todo: type? */ does not close and abort tcp_pcb section. So the lwiperf_abort API can not abort an iperf session successfully.
  • We need to change old code by new lwiperf_tcp_close((lwiperf_state_tcp_t *)dealloc, LWIPERF_TCP_ABORTED_LOCAL); code. Because that line contains LWIPERF_FREE() function and it can close and abort tcp_pcb. So that the TCP iperf server and TCP iperf abort can work correctly by aborting the current iperf server and then restarting a new successful iperf server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants