Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1235

How could I use THttpServerTransportFactory withTNonBlockingServer

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 0.6
    • 0.9
    • C++ - Library
    • None
    • C++ Server, Python client
      Linux 2.6.9-42.EL #1 Wed Jul 12 23:16:43 EDT 2006 i686 i686 i386 GNU/Linux

    Description

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

       
        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);
      

      Attachments

        Activity

          People

            jfarrell Jake Farrell
            zhangyingneng zhangyingneng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: