When the accept queue is full print the number of already pending
new connections instead of by how many we're over the limit, which is always 1. Noticed by: jmallet MFC after: 1 week
This commit is contained in:
parent
9335f4eb24
commit
6753da1356
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250365
@ -515,7 +515,7 @@ sonewconn(struct socket *head, int connstatus)
|
||||
#endif
|
||||
log(LOG_DEBUG, "%s: pcb %p: Listen queue overflow: "
|
||||
"%i already in queue awaiting acceptance\n",
|
||||
__func__, head->so_pcb, over);
|
||||
__func__, head->so_pcb, head->so_qlen);
|
||||
return (NULL);
|
||||
}
|
||||
VNET_ASSERT(head->so_vnet != NULL, ("%s:%d so_vnet is NULL, head=%p",
|
||||
|
Loading…
Reference in New Issue
Block a user