- Timestamp:
- Jul 27, 2026, 1:43:45 PM (9 days ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
-
CHANGELOG.md (modified) (1 diff)
-
src/bncnetqueryv2.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/CHANGELOG.md
r10957 r10960 10 10 - FIXED: Handling of ionospheric constraints [(#220)](https://software.rtcm-ntrip.org/ticket/220) 11 11 - FIXED: SP3/Clock RINEX clock values produced by the Upload Corrections feature no longer depend on whether 'Center of Mass' is ticked, since that setting should only affect the uploaded SSR Broadcast Correction stream [(#210)](https://software.rtcm-ntrip.org/ticket/210) 12 - FIXED: A timeout is added to allow a reonnect after an outage of Ntrip Version 2/2s streams 12 13 - CHANGED: prevention to extrapolate a orb/clk SSR correction far beyond its own declared update interval 13 14 - CHANGED: GLONASS postion integration fresh from the pristine, decoded TOC state rather than rolling _tt/_xv forward across repeated calls -
trunk/BNC/src/bncnetqueryv2.cpp
r10802 r10960 16 16 17 17 #include <iostream> 18 19 #include <QTimer> 18 20 19 21 #include "bncnetqueryv2.h" … … 34 36 _firstData = true; 35 37 _status = init; 38 _timeOut = 20000; 36 39 37 40 bncSettings settings; … … 215 218 // Wait Loop 216 219 // --------- 220 bool timedOut = false; 217 221 if (!_reply->bytesAvailable()) { 222 QTimer timer; 223 timer.setSingleShot(true); 224 connect(&timer, SIGNAL(timeout()), _eventLoop, SLOT(quit())); 225 timer.start(_timeOut); 218 226 _eventLoop->exec(); 227 timedOut = !timer.isActive(); 219 228 } 220 229 if (!_reply) { 230 return; 231 } 232 233 // Timeout: neither new data arrived nor did the request finish 234 // (e.g. connection silently dropped by a NAT/firewall) 235 // -------------------------------------------------------------- 236 if (timedOut) { 237 _status = error; 238 emit newMessage(_url.path().toLatin1().replace(0,1,"") 239 + ": Read timeout", true); 240 disconnect(_reply, SIGNAL(finished()), this, SLOT(slotFinished())); 241 _reply->abort(); 221 242 return; 222 243 }
Note:
See TracChangeset
for help on using the changeset viewer.
