Skip to content

Commit

Permalink
fixup! fixup! fixup! KTOR-7139 Fux exception thrown in onCallRespond …
Browse files Browse the repository at this point in the history
…makes the client wait for response indefinitely
  • Loading branch information
e5l committed Feb 4, 2025
1 parent 23cb99e commit 1bb7d91
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -808,10 +808,9 @@ abstract class SustainabilityTestSuite<TEngine : ApplicationEngine, TConfigurati
}
}

val phase = PipelinePhase("test")
val phase = EnginePipeline.Before
val pipeline = (server.engine as BaseApplicationEngine).pipeline
pipeline.insertPhaseBefore(EnginePipeline.Before, phase)
pipeline.intercept(EnginePipeline.Before) {
pipeline.intercept(phase) {
throw IllegalStateException("Failed in engine pipeline")
}
startServer(server)
Expand Down

0 comments on commit 1bb7d91

Please sign in to comment.