Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-655

Use case insensitive parsing for Manager connectTimeoutMS array option

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.6
    • Affects Version/s: 1.1.5
    • Component/s: None
    • None

      libmongoc uses case-insensitive parsing for options in the URI string, as does php_phongo_make_uri() for options in Manager's second array argument; however, phongo_stream_initiator() was using case-sensitive bson_iter_init_find() to retrieve the "connectTimeoutMS" option to apply to the PHP stream. We should either use bson_iter_init_find_case() or mongoc_uri_get_option_as_int32() instead.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: