YALI58 opened a new pull request, #6901: URL: https://github.com/apache/shenyu/pull/6901
### Bug Description `HttpLongPollingTask.run()` retries failed long-poll requests with a `for (time = 1; time <= retryTimes; time++)` loop, but it does not leave that retry loop after a successful `doLongPolling(server)` call. A single outer loop can therefore perform 10 successful long-poll requests back-to-back instead of one. ### Fix Added `break` after `doLongPolling(server)` succeeds so the retry loop exits on success and only continues on failure. Closes #6523 -- 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]
