diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-16 14:23:56 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-17 10:40:00 -0500 |
commit | 1efb84215e827e4fe887ea633eb39f06db285786 (patch) | |
tree | c800c77817faf8f27e83087ac2ea5b3dcaa828b8 /src/common/compat.h | |
parent | 9464da210d3214fc094f5fc3b2c229470dbea59c (diff) | |
download | tor-1efb84215e827e4fe887ea633eb39f06db285786.tar.gz tor-1efb84215e827e4fe887ea633eb39f06db285786.zip |
Improve Windows performance with SIO_IDEAL_SEND_BACKLOG_QUERY.
Patch written by "Vort" on trac. Addresses ticket 22798.
Diffstat (limited to 'src/common/compat.h')
-rw-r--r-- | src/common/compat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index ee1c9454de..fe2d0da082 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -10,6 +10,9 @@ #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> +#ifndef SIO_IDEAL_SEND_BACKLOG_QUERY +#define SIO_IDEAL_SEND_BACKLOG_QUERY 0x4004747b +#endif #endif #include "torint.h" #include "testsupport.h" |