allthingssecurity commented on PR #30356:
URL: https://github.com/apache/camel/pull/30356#issuecomment-7002873495
Thanks, good catch on `sync=false`. Done in 0fa70d1fb402:
- The write listener of the `!configuration.isSync()` branch now calls
`state.callbackDoneOnce(false)` in its `finally`, with your comment. I
confirmed it on the old head: the reset of the idle async channel went through
`exceptionCaught`, which invalidated the channel and ran the route's callback a
second time (the error handler logged that it was no longer awaited). Added a
`sync=false` case to `NettyProducerIdleChannelResetTest`, which fails without
it (`SocketException: Connection reset` on the exchange).
- The test now uses `.to("netty:...").threads(1)` instead of calling
`producer.process`, and the server thread uses `if (!resetNow.await(...))
return;`.
camel-netty: 164 run, 0 failures. camel-netty-http: 383 run, 0 failures, 0
errors. The test class passed 10 times in one JVM, 20 of 20.
_Claude Code on behalf of allthingssecurity_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]