Changeset 10221 in ntrip for trunk/BNC/src/upload/bncuploadcaster.cpp
- Timestamp:
- Oct 6, 2023, 12:31:04 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncuploadcaster.cpp
r9853 r10221 294 294 msg = "SOURCE " + _password.toLatin1() + " /" + _mountpoint.toLatin1() 295 295 + "\r\n" + "Source-Agent: NTRIP BNC/" BNCVERSION "\r\n\r\n"; 296 _outSocket->write(msg); 297 _outSocket->waitForBytesWritten(); 298 _outSocket->waitForReadyRead(); 296 299 } else { 297 300 msg = "POST " + _postExtension.toLatin1() + "/" + _mountpoint.toLatin1() … … 301 304 + "User-Agent: NTRIP BNC/" BNCVERSION " (" + BNC_OS + ")\r\n" 302 305 + "Connection: close\r\n" + "Transfer-Encoding: chunked\r\n\r\n"; 303 }304 _outSocket->write(msg);305 _outSocket->waitForBytesWritten();306 _outSocket->waitForReadyRead();306 _outSocket->write(msg); 307 _outSocket->waitForBytesWritten(); 308 _outSocket->waitForReadyRead(); 309 } 307 310 308 311 QByteArray ans = _outSocket->readAll();
Note:
See TracChangeset
for help on using the changeset viewer.