diff options
| author | David Greenman <dg@FreeBSD.org> | 1995-01-24 08:03:22 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1995-01-24 08:03:22 +0000 |
| commit | b99f012ec5ccafd6d094ad46341c9feb22d76f90 (patch) | |
| tree | 4d7059296b6bf50ceb37658f7550cfb510dbbff4 /sys/netinet/tcp_output.c | |
| parent | bc84e96c420a16db8dc9026b45e4a2e14b2f7c16 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/tcp_output.c')
| -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 829fceaa4702..2035604c4388 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; } |
