diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2019-09-07 02:22:21 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2019-10-21 13:48:07 +0200 |
commit | 559b563d711db0760a51b0dce26536dbc8766a9d (patch) | |
tree | 8c1e66c226a3fd651b1a838c7d3458851d3a0c16 /src/network/ssl/qsslsocket_schannel_p.h | |
parent | 69a43c6c3e3fcaf10480544c1638f6446ed25d00 (diff) |
Use Schannel's incomplete data guesstimation feature
It tells us how many bytes we will need before the call succeeds. It's
not accurate but will reduce the amount of calls to their slow functions
Change-Id: I82393d5acd68b84c6e6f3377ba40bb1d5c51ca8a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/network/ssl/qsslsocket_schannel_p.h')
-rw-r--r-- | src/network/ssl/qsslsocket_schannel_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/ssl/qsslsocket_schannel_p.h b/src/network/ssl/qsslsocket_schannel_p.h index 6ab200e1f9..a184deef49 100644 --- a/src/network/ssl/qsslsocket_schannel_p.h +++ b/src/network/ssl/qsslsocket_schannel_p.h @@ -145,6 +145,7 @@ private: const CERT_CONTEXT *localCertContext = nullptr; ULONG contextAttributes = 0; + qint64 missingData = 0; bool renegotiating = false; }; |