You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2012/09/13 04:18:07 UTC

[jira] [Closed] (THRIFT-1235) How could I use THttpServerTransportFactory withTNonBlockingServer

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

Jake Farrell closed THRIFT-1235.
--------------------------------

       Resolution: Incomplete
    Fix Version/s: 0.9
         Assignee: Jake Farrell

please ask the dev list regarding this issue if you still need help with it
                
> How could I use THttpServerTransportFactory withTNonBlockingServer
> ------------------------------------------------------------------
>
>                 Key: THRIFT-1235
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1235
>             Project: Thrift
>          Issue Type: Question
>          Components: C++ - Library
>    Affects Versions: 0.6
>         Environment: C++ Server, Python client
> Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux
>            Reporter: zhangyingneng
>            Assignee: Jake Farrell
>             Fix For: 0.9
>
>
> My THttpServerTransportFactory works fine with TThreadPoolServer but it refuse to work with TNonBlockingServer.
> {code:java} 
>   shared_ptr<TTransportFactory> httpTransFactory(new THttpServerTransportFactory());
>   shared_ptr<TTransportFactory> httpTransFactory2(new THttpServerTransportFactory());
> //   TThreadPoolServer server(processor,
> //       serverTransport,
> //       httpTransFactory,
> //       protocolFactory,
> //       threadManager);
>   TNonblockingServer server(processor,
>       httpTransFactory,
>       httpTransFactory2,
>       protocolFactory,
>       protocolFactory,
>       port,threadManager);
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira