mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-23 16:43:49 +08:00
Maximum connections on Windows increased to 2048.
Thanks to ericGTT.
This commit is contained in:
@@ -62,6 +62,7 @@ Broker:
|
||||
Closes #8.
|
||||
- Add set_tcp_nodelay option to allow Nagle's algorithm to be disabled on
|
||||
client sockets. Closes #433.
|
||||
- Maximum connections on Windows increased to 2048.
|
||||
|
||||
Client library:
|
||||
- Outgoing messages with QoS>1 are no longer retried after a timeout period.
|
||||
|
||||
@@ -232,6 +232,10 @@ int main(int argc, char *argv[])
|
||||
srand(tv.tv_sec + tv.tv_usec);
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
_setmaxstdio(2048);
|
||||
#endif
|
||||
|
||||
memset(&int_db, 0, sizeof(struct mosquitto_db));
|
||||
|
||||
net__init();
|
||||
|
||||
Reference in New Issue
Block a user