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:
parent
873e38290a
commit
c2696aaf51
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user