Changeset 10984 in ntrip
- Timestamp:
- Jul 31, 2026, 1:15:44 PM (8 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncnetqueryv2.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncnetqueryv2.cpp
r10960 r10984 223 223 timer.setSingleShot(true); 224 224 connect(&timer, SIGNAL(timeout()), _eventLoop, SLOT(quit())); 225 timer.start(_timeOut); 225 // The very first read of a request can take much longer than a 226 // steady-state read: it includes connection setup, TLS handshake and 227 // (on Windows) potentially slow system/WPAD proxy auto-detection. Only 228 // apply the strict outage-detection timeout once the stream is live. 229 timer.start(_firstData ? 5 * _timeOut : _timeOut); 226 230 _eventLoop->exec(); 227 231 timedOut = !timer.isActive(); … … 253 257 else { 254 258 outData.append(_reply->readAll()); 259 _firstData = false; 255 260 } 256 261 }
Note:
See TracChangeset
for help on using the changeset viewer.
