syncache broke rev 1.23 which was done to fix the "thundering herd"

problem in Apache.  Fix it.

Reviewed by:	peter
This commit is contained in:
Paul Saab 2004-05-19 00:22:10 +00:00
parent 873e38290a
commit c2696aaf51
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ sonewconn(head, connstatus)
}
if (connstatus) {
sorwakeup(head);
wakeup(&head->so_timeo);
wakeup_one(&head->so_timeo);
so->so_state |= connstatus;
}
return (so);

View File

@ -223,7 +223,7 @@ sonewconn(head, connstatus)
}
if (connstatus) {
sorwakeup(head);
wakeup(&head->so_timeo);
wakeup_one(&head->so_timeo);
so->so_state |= connstatus;
}
return (so);