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

Remove undocumented Manager "hosts" URI option

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.3
    • Affects Version/s: 1.1.2
    • Component/s: None
    • None

      Manager::__construct() supports a "hosts" array of strings in its additional options, which appears to be an alternative way to add additional hosts into a URI beyond the comma-delimited list. There is no reference to this option in the connection string documentation (or our own docs on PHP.net), and it appears to have been a PHPC invention. This should be removed from PHPC, which will allow libmongoc to keep this symbol private.

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

              Created:
              Updated:
              Resolved: