Skip to content

Commit da4f0a8

Browse files
authored
feat(write_req): Close file after writing (#21)
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
1 parent 33bcfc5 commit da4f0a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/server/write_req.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ where
108108
}
109109
}
110110

111+
self.writer.flush().await?;
112+
self.writer.close().await?;
113+
111114
Ok(())
112115
}
113116

0 commit comments

Comments
 (0)