Closed eyalabraham closed 6 years ago
function send_segment() advanced SND_NXT. ENC28J60 encounters collision errors and returns an error code that prevents SND_NXT for advancing. In turn this causes SND_NXT an illegal value that is less-than SEG_ACK, which is why TCP end up stops responding with ACKs.
Removed condition around advancing SND_NXT. A transmit failure will be handled by TCP.
Happens when high volume traffic is started the 'httpd' web server module, and the page has multiple elements that load concurrently. TCP seems to hang and not respond with ACKs.