From de70cfa2306d46b3aaf74361926504d007104eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 21 Jan 2020 15:33:04 +0400 Subject: tcp_emu: add more fixme/warnings comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau Reviewed-by: Samuel Thibault --- src/tcp_subr.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tcp_subr.c b/src/tcp_subr.c index 177dfd2..7832b14 100644 --- a/src/tcp_subr.c +++ b/src/tcp_subr.c @@ -575,6 +575,9 @@ uint8_t tcp_tos(struct socket *so) * more checks are needed here * * XXX Assumes the whole command came in one packet + * XXX If there is more than one command in the packet, the others may + * be truncated. + * XXX If the command is too long, it may be truncated. * * XXX Some ftp clients will have their TOS set to * LOWDELAY and so Nagel will kick in. Because of this, -- cgit v1.1