mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Fix incorrect logic wouldn't disconnect incomming connections that had been
disconnected because they were not full. Submitted by: David Filo
This commit is contained in:
parent
f0ff2d5f66
commit
da289f07ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=70643
@ -156,7 +156,7 @@ static void
|
||||
sohashttpget(struct socket *so, void *arg, int waitflag)
|
||||
{
|
||||
|
||||
if ((so->so_state & SS_CANTRCVMORE) == 0 || !sbfull(&so->so_rcv)) {
|
||||
if ((so->so_state & SS_CANTRCVMORE) == 0 && !sbfull(&so->so_rcv)) {
|
||||
struct mbuf *m;
|
||||
char *cmp;
|
||||
int cmplen, cc;
|
||||
|
Loading…
Reference in New Issue
Block a user