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

Consider exposing mongoc_host_list_t.family alongside host and port info

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None

      PHPC currently reports the host string and port number for mongoc_host_list_t structs (e.g. Server::getHost(), Server::getPort()). That struct also has a family field, which I believe is used to indicate a socket type (e.g. IPv4, IPv6, Unix domain socket). We should consider exposing that information if it's relevant (or important enough) and cannot easily be inferred from the host/port values.

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

              Created:
              Updated: