Changeset 473 in ntrip for trunk/BNC/bnctabledlg.cpp
- Timestamp:
- Jun 18, 2007, 2:22:14 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnctabledlg.cpp
r464 r473 157 157 // Read Caster Response 158 158 // -------------------- 159 bool proxyRespond = false; 159 160 bool first = true; 160 161 while (true) { 161 162 if (socket->canReadLine()) { 162 163 QString line = socket->readLine(); 164 165 // Skip messages from proxy server 166 // ------------------------------- 167 if (line.indexOf("SOURCETABLE 200 OK") == -1 && 168 line.indexOf("200 OK") != -1 ) { 169 proxyRespond = true; 170 } 171 if (proxyRespond) { 172 if (line.trimmed().isEmpty()) { 173 proxyRespond = false; 174 } 175 continue; 176 } 177 163 178 allLines.push_back(line); 164 179 if (first) {
Note:
See TracChangeset
for help on using the changeset viewer.