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

proper interrup handle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.1, 0.7, 0.8
    • None
    • PHP - Library
    • None
    • Patch Available

    Description

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

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

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

      Attachments

        1. 1509.patch
          1 kB
          ruslan.usifov

        Activity

          People

            Unassigned Unassigned
            tantra ruslan.usifov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: