fix(proto): flush written startup message

This commit is contained in:
Jindřich Moravec 2023-12-23 01:27:15 +01:00
parent c1744711d3
commit 505f59b354
4 changed files with 14 additions and 7 deletions

View file

@ -11,6 +11,8 @@ pub enum ClientHandshakeError {
UnexpectedResponse,
#[error("unexpected auth response")]
UnexpectedAuthResponse(BackendMessage),
#[error("socket communication failed")]
Io(#[from] io::Error),
#[error("writing message to socket failed")]
Write(#[from] ProtoWriteError),
#[error("reading message from socket failed")]