Merge branch 'v0.19.x'

This commit is contained in:
Max Kellermann
2015-01-06 12:54:46 +01:00
3 changed files with 21 additions and 6 deletions

View File

@@ -160,6 +160,11 @@ AsyncInputStream::SeekDone()
assert(io_thread_inside());
assert(IsSeekPending());
/* we may have reached end-of-file previously, and the
connection may have been closed already; however after
seeking successfully, the connection must be alive again */
open = true;
seek_state = SeekState::NONE;
cond.broadcast();
}