Skip to content

Commit

Permalink
replace log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
lauzadis committed Aug 1, 2024
1 parent 6c7ab3b commit 2723096
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ public class CrtHttpEngine(public override val config: CrtHttpEngineConfig) : Ht
}

callContext.job.invokeOnCompletion {
logger.trace { "completing handler; cause=$it" }

stream.close()
// ensures the stream is driven to completion regardless of what the downstream consumer does
respHandler.complete()
Expand Down

0 comments on commit 2723096

Please sign in to comment.