Skip to content

Commit

Permalink
Close encrpted writer in offload
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Reshke committed Sep 11, 2024
1 parent a6039d4 commit 579131f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/proc/interaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ func ProcessPutExtended(
return
}

if encrypt {
if err := w.Close(); err != nil {
ylogger.Zero.Error().Err(err).Msg("failed to close connection")
return
}
}

ylogger.Zero.Debug().Msg("closing msg writer")
return
}
Expand Down

0 comments on commit 579131f

Please sign in to comment.