Extended the previous change to cover the non-options case, too.

This commit is contained in:
David Greenman 1995-01-24 08:03:22 +00:00
parent bc84e96c42
commit b99f012ec5

View File

@ -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;
}