
|
If you were logged in you would be able to see more operations.
|
|
|
| Planning Status: |
Unspecified
|
|
During tests with high load and simultaneous creation of many connections i found that firebriod.log contains a lot of INET errors such as
INET/inet_error: send errno = 10054
Debugging shows that in this condition it is possible to have successful call of connect() function followed by error in send() call.
No problems at server side was found.
|
|
Description
|
During tests with high load and simultaneous creation of many connections i found that firebriod.log contains a lot of INET errors such as
INET/inet_error: send errno = 10054
Debugging shows that in this condition it is possible to have successful call of connect() function followed by error in send() call.
No problems at server side was found. |
Show » |
|
Before value of 5 was hardcoded for call of listen().
MSDN said about backlog parameter :
Maximum length of the queue of pending connections. If set to SOMAXCONN, the underlying service provider responsible for socket s will set the backlog to a maximum reasonable value.
Note, that SOMAXCONN is still defined as 5 in winsock.h while at winsock2.h it is defined as 0x7fffffff
So it is correct and safe to use SOMAXCONN and to include winsock2.h instead of old winsock.h