diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2024-08-27 17:50:06 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2024-08-28 19:01:39 +0200 |
| commit | 4403b6561b91c7435186116265b6e59e81c7ce03 (patch) | |
| tree | 4730e9f6a1f62b5910cf7d3a3e4c5f92b3dca2ba /src/network/access/qnetworkrequest.cpp | |
| parent | 55fe33f794c1961f2c691b91fe58525dd1a203e0 (diff) | |
QNetworkRequest: document the new saturation behavior of transferTimeout()
Pick-to: 6.8
Change-Id: I1b8b57c76f41e36ad14fff9c52f0c346f83426ed
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/network/access/qnetworkrequest.cpp')
| -rw-r--r-- | src/network/access/qnetworkrequest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp index 2fb467d3a85..6a266f86519 100644 --- a/src/network/access/qnetworkrequest.cpp +++ b/src/network/access/qnetworkrequest.cpp @@ -1041,7 +1041,10 @@ void QNetworkRequest::setDecompressedSafetyCheckThreshold(qint64 threshold) Returns the timeout used for transfers, in milliseconds. - \sa setTransferTimeout() + If transferTimeoutAsDuration().count() cannot be represented in \c{int}, + this function returns \c{INT_MAX}/\c{INT_MIN} instead. + + \sa setTransferTimeout(), transferTimeoutAsDuration() */ /*! |
