diff options
author | dg <dg@FreeBSD.org> | 1995-01-24 08:03:22 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-01-24 08:03:22 +0000 |
commit | 14991e48cfcfe3e704ed7f070727d7e57e11f07f (patch) | |
tree | 4d7059296b6bf50ceb37658f7550cfb510dbbff4 /sys | |
parent | addc92971537252101fa9cb3d1e0415bb0f79466 (diff) | |
download | FreeBSD-src-14991e48cfcfe3e704ed7f070727d7e57e11f07f.zip FreeBSD-src-14991e48cfcfe3e704ed7f070727d7e57e11f07f.tar.gz |
Extended the previous change to cover the non-options case, too.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_output.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c index 829fcea..2035604 100644 --- a/sys/netinet/tcp_output.c +++ b/sys/netinet/tcp_output.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_output.c 8.3 (Berkeley) 12/30/93 - * $Id: tcp_output.c,v 1.3 1994/09/15 10:36:55 davidg Exp $ + * $Id: tcp_output.c,v 1.4 1995/01/23 17:58:27 davidg Exp $ */ #include <sys/param.h> @@ -157,6 +157,11 @@ again: } } if (len > tp->t_maxseg) { + /* + * If there is still more to send, don't close the connection. + */ + flags &= ~TH_FIN; + len = tp->t_maxseg; sendalot = 1; } |