AsyncHttpClient creates new NioSocketConnector
----------------------------------------------

                 Key: DIRMINA-496
                 URL: https://issues.apache.org/jira/browse/DIRMINA-496
             Project: MINA
          Issue Type: Improvement
          Components: Protocol - HTTP
    Affects Versions: 2.0.0-M1, 2.0.0-M2
         Environment: trunk, r598971 of the public repository.
            Reporter: Tuure Laurinolli


Currently each AsyncHttpClient creates a new NioSocketConnector. This will 
cause each AsyncHttpClient to have its own thread pool, which is rather 
excessive and rather inflexible in my opinion.

Instead of creating its own NioSocketConnector, AsyncHttpClient should receive 
its IoConnector through a constructor, which should probably be called by a 
factory. All AsyncHttpClients created using the same factory should share the 
same IoConnector.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to