mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fixed bug CORE-3351 : Windows client could put 10054 error messages into firebird.log at connection time
This commit is contained in:
parent
b1a74121d1
commit
d756a02f89
@ -33,7 +33,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifdef WIN_NT
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
typedef char* caddr_t;
|
||||
#else // WIN_NT
|
||||
#include <netinet/in.h>
|
||||
|
@ -941,7 +941,7 @@ rem_port* INET_connect(const TEXT* name,
|
||||
inet_error(true, port, "bind", isc_net_connect_listen_err, INET_ERRNO);
|
||||
}
|
||||
|
||||
n = listen(port->port_handle, 5);
|
||||
n = listen(port->port_handle, SOMAXCONN);
|
||||
|
||||
if (n == -1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user