antmerlino commented on code in PR #7528: URL: https://github.com/apache/incubator-nuttx/pull/7528#discussion_r1014952293
########## net/sixlowpan/sixlowpan_tcpsend.c: ########## @@ -242,33 +242,19 @@ static int sixlowpan_tcp_header(FAR struct tcp_conn_s *conn, memcpy(ipv6tcp->tcp.ackno, conn->rcvseq, 4); /* ACK number */ memcpy(ipv6tcp->tcp.seqno, conn->sndseq, 4); /* Sequence number */ - /* Set the TCP window */ + /* Update the TCP received window based on I/O buffer availability */ - if (conn->tcpstateflags & TCP_STOPPED) Review Comment: @xiaoxiang781216 The flag is checked right here. It sets the window to zero so that the host stops sending data. Why do you say that the code is dead? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
