Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-43576

DBClientRS does not propagate applicationName

    • Fully Compatible
    • v4.2, v4.0, v3.6
    • Security 2019-10-07, Security 2019-10-21

      There are two places it is not propagated:

      The application name is not propagated from the URI to the connect():

      https://github.com/mongodb/mongo/blob/f66d468830246d4a448c9e87e698691e0abc026b/src/mongo/client/connpool.cpp#L394

      cloneURIForServer - it does not propagate the application name from the RS connection to the URI.

      https://github.com/mongodb/mongo/blob/f66d468830246d4a448c9e87e698691e0abc026b/src/mongo/client/dbclient_rs.cpp#L298

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: