Changeset 16865


Ignore:
Timestamp:
06/19/13 11:20:46 (11 years ago)
Author:
tbretz
Message:
Increased the time to wait for the data of a ftm reply to a macroscopic time. There is no need to be picky about the receiving time and it can happen that other events in the queue are processed in between.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ftmctrl.cc

    r16783 r16865  
    257257                fBuffer.resize(fHeader.fDataSize);
    258258                AsyncRead(ba::buffer(fBuffer));
    259                 AsyncWait(fInTimeout, 50, &Connection::HandleReadTimeout);
     259                AsyncWait(fInTimeout, 1000, &Connection::HandleReadTimeout);
    260260                return;
    261261
     
    417417            return;
    418418
    419         Error("Timeout reading data from "+URL());
     419        Error("Timeout ("+to_simple_string(fInTimeout.expires_from_now())+") reading data from "+URL());
    420420
    421421        PostClose();
Note: See TracChangeset for help on using the changeset viewer.