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

Server does not enforce handshake protocol requirement that 'application.name' be present if the client metadata defines an 'application' section

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • 3.6.0
    • Internal Code
    • None
    • ALL

    Description

      Per the handshake protocol spec, we require that if the optional 'application' section is specified in the metadata passed by the driver to the server, then the 'name' subfield must be specified (and presumably non-empty). Currently, client_metadata.cpp does not enforce this requirement; it only checks that the 'name' field is of type string if present.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: