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


My THttpServerTransportFactory works fine with TThreadPoolServer while it 
refuse to work with TNonBlockingServer.

{code:cpp} 
  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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to