public SimpleMessageBodyDataSource(HttpMessageHeader header, AbstractHttpConnection httpConnection) throws IOException {
super(header, httpConnection);
if (httpConnection.getBodyDataReceiveTimeoutMillis() == Long.MAX_VALUE) {
watchdog = new TimerTask() {
@Override
public void run() {
if (getBodyDataReceiveTimeoutMillis() > (System.currentTimeMillis() + DEFAULT_BODY_DATA_TIMEOUT_MILLIS)) {