proper interrup handle
----------------------

                 Key: THRIFT-1509
                 URL: https://issues.apache.org/jira/browse/THRIFT-1509
             Project: Thrift
          Issue Type: Bug
          Components: PHP - Library
    Affects Versions: 0.8, 0.7, 0.6.1
            Reporter: ruslan.usifov
         Attachments: 1509.patch

When interrup happent Tsoket wrong handle this situation. A work around is to 
sorount select system call in do-wile loop, Like this:

{code}
      do
      {
        $writable = @stream_select($null, $write, $null, 
$this->sendTimeoutSec_, $this->sendTimeoutUsec_);
      }
      while($writable === false);
{code}

But here is some problem when stream_select return false in no interrup 
situation 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to