We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19af669 commit be27a9cCopy full SHA for be27a9c
modules/remotebackend/httpconnector.cc
@@ -388,7 +388,7 @@ int HTTPConnector::recv_message(rapidjson::Document &output) {
388
389
try {
390
t0 = time((time_t*)NULL);
391
- while(arl.ready() == false && (labs(time((time_t*)NULL) - t0) <= timeout/1000)) {
+ while(arl.ready() == false && (labs(time((time_t*)NULL) - t0) <= timeout)) {
392
rd = d_socket->readWithTimeout(buffer, sizeof(buffer), timeout);
393
if (rd==0)
394
throw NetworkError("EOF while reading");
0 commit comments