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

PHP TSocket broken by THRIFT-4295

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 0.11.0
    • None
    • PHP - Library
    • None

    Description

      Thrift version 0.11.0 introduces an issue with PHP's TSocket, where it sets SO_NODELAY by default, with no way of disabling. 0.11.0 is unusable for us because of this, as we open tens or hundreds of connections per second to localhost from PHP, and with 0.11.0 we run out of client ports in a matter of seconds.

      The default behaviour should be to not touch SO_NODELAY unless there is a good reason to do so! See for example https://www.extrahop.com/company/blog/2016/tcp-nodelay-nagle-quickack-best-practices/#5

      Attachments

        Activity

          People

            jking3 James E. King III
            stigsb Stig Bakken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: