Add restart support for compresses I/O logs.

This commit is contained in:
Todd C. Miller
2019-10-24 20:04:32 -06:00
parent b57054785f
commit 3394785f6d
4 changed files with 251 additions and 9 deletions

View File

@@ -787,6 +787,7 @@ connection_closure_alloc(int sock)
if ((closure = calloc(1, sizeof(*closure))) == NULL)
debug_return_ptr(NULL);
closure->iolog_dir_fd = -1;
closure->sock = sock;
closure->read_buf.size = 64 * 1024;