Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-952

php driver still wait for a timeout even after TCP RST packet

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 1.4.5
    • Fix Version/s: None
    • Component/s: pecl-mongo
    • Environment:
      Linux/php 5.3.5
    • # Replies:
      2
    • Last comment by Customer:
      true

      Description

      When connecting to a member of a replica set, the connector waits for connectTimeoutMS even after receiving a TCP RST packet (because the port is closed or the connection was rejected [and not just dropped] by a firewall).

      It's easy to reproduce by adding a non-existent server to a connection string and on the same machine do:
      iptables -I OUTPUT -d <dummyIP> -j REJECT

      The connector still waits for the time-out...

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                6 years, 14 weeks, 2 days ago
                Date of 1st Reply: