set eof flag as soon as fixed size content has been received