Bugfix: make sure the TCP connection is polled immediately after tcp_socket_send() is called so that the TCP segment goes out directly

This commit is contained in:
Adam Dunkels 2016-10-31 22:21:15 +01:00
parent f11d344d4d
commit ae4801bba6

View File

@ -357,6 +357,8 @@ tcp_socket_send(struct tcp_socket *s,
s->output_senddata_len = s->output_data_len;
}
tcpip_poll_tcp(s->c);
return len;
}
/*---------------------------------------------------------------------------*/