thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dvir Volk <dvir...@gmail.com>
Subject php binary extension hangs
Date Tue, 08 Mar 2011 15:24:42 GMT
Hi,
I'm using thrift 0.4.0 on a 64bit ubuntu  box, and switched to the compiled
php binary extension, compiled on my machine.
once switched, requests hang for 10-20 seconds before returning, but return
ok. Is this something I'm doing wrong? a bug that was fixed later on?
this is my code:
                $this->_socket = new \TSocket($this->_host, $this->_port +
$portOffset);
                $this->_transport = new TBufferedTransport($this->_socket);
                if (extension_loaded('thrift_protocol')) {
                    $prot = new
\TBinaryProtocolAccelerated($this->_transport);
                } else {

                    $prot = new \TBinaryProtocol($this->_transport);
                }
                $this->_client = new ServiceClient($prot);
                $this->_transport->open()

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message