You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/01/24 12:58:38 UTC

[jira] [Resolved] (HTTPCORE-358) DefaultListeningIOReactor.listen() should support backlog size configuration

     [ https://issues.apache.org/jira/browse/HTTPCORE-358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCORE-358.
----------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 4.4)
                   4.4-alpha1

Patch committed to SVN trunk 

(I botched the commit though and the change got mixed with two other changes)

Oleg

> 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
>             Fix For: 4.4-alpha1
>
>         Attachments: backlog.patch, backlogconfig.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.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org