diff options
author | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-06-10 10:42:13 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@nokia.com> | 2010-06-10 13:31:18 (GMT) |
commit | cbe3425a3bd226c61c94f92c521dc5c9b090ef96 (patch) | |
tree | 391d6beec4ceb9fab7d5b4a4eb4bc3afd984ebfd /src/network/socket/qlocalserver_p.h | |
parent | 6c8b980a8ea8009a7b80fcce419e331df778a989 (diff) | |
download | Qt-cbe3425a3bd226c61c94f92c521dc5c9b090ef96.zip Qt-cbe3425a3bd226c61c94f92c521dc5c9b090ef96.tar.gz Qt-cbe3425a3bd226c61c94f92c521dc5c9b090ef96.tar.bz2 |
QLocalServer: make many simultaneous connection attempts work on Windows
Don't call GetOverlappedResult if ConnectNamedPipe connects instantly.
Autotest: tst_qlocalsocket::threadedConnection
Task-number: QTBUG-8477
Done-with: ossi
Reviewed-by: ossi
Diffstat (limited to 'src/network/socket/qlocalserver_p.h')
-rw-r--r-- | src/network/socket/qlocalserver_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/socket/qlocalserver_p.h b/src/network/socket/qlocalserver_p.h index feaaae0..4f92b64 100644 --- a/src/network/socket/qlocalserver_p.h +++ b/src/network/socket/qlocalserver_p.h @@ -99,6 +99,7 @@ public: struct Listener { HANDLE handle; OVERLAPPED overlapped; + bool connected; }; void setError(const QString &function); |