[
https://issues.apache.org/jira/browse/HTTPCORE-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801642#comment-13801642
]
Dmitry Potapov commented on HTTPCORE-358:
-----------------------------------------
You're right, passing backlog size through IOReactorConfig will do the trick.
This won't allow to specify different backlog sizes for different listener
endpoints, but I can't imagine situation when this is required.
> DefaultListeningIOReactor.listen() should support backlog size configuration
> ----------------------------------------------------------------------------
>
> Key: HTTPCORE-358
> URL: https://issues.apache.org/jira/browse/HTTPCORE-358
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Components: HttpCore NIO
> Affects Versions: 4.3
> Reporter: Dmitry Potapov
> Priority: Minor
> Attachments: backlog.patch
>
>
> Subj.
> For servers under heavy load it is important to have ability to set backlog
> size bigger than default one in order to avoid incoming connections drop.
> My suggestion is to add ListeningIOReactor.listen(SocketAddress,int)
> function, which will pass second parameter as backlog size to the
> ServerSocket.bind(SocketAddress,int)
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]