Test that timing out a write causes a disconnect and a reconnect

This commit is contained in:
Alex Young
2012-06-28 14:45:53 +01:00
parent 4de4cee3d0
commit 9850f5d0a4
7 changed files with 83 additions and 9 deletions

View File

@@ -189,7 +189,8 @@ int mirror_pass(struct server * serve, int should_lock, uint64_t *written)
current,
run,
0,
serve->mirror->mapped + current);
serve->mirror->mapped + current,
MS_REQUEST_LIMIT_SECS);
/* now mark it clean */
bitset_clear_range(map, current, run);