ok2c commented on code in PR #730:
URL:
https://github.com/apache/httpcomponents-core/pull/730#discussion_r4437288238
##########
httpcore5/src/main/java/org/apache/hc/core5/reactor/SingleCoreListeningIOReactor.java:
##########
@@ -120,7 +122,15 @@ private void processEvent(final SelectionKey key) throws
IOException {
final ServerSocketChannel serverChannel =
(ServerSocketChannel) key.channel();
for (;;) {
- final SocketChannel socketChannel = serverChannel.accept();
+ final SocketChannel socketChannel;
Review Comment:
@arturobernalg Can we add some sort of a counter to break the infinite loop?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]