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

Add maximum value for grpc port

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Networking & Observability
    • ALL

      The grpc port's idl definition checks for

      {gte: 1}

      but does not enforce a maximum value. TCP port are limited to 65,535 as they're stored in a 16 bits number, we should enforce this check. We should also consider if we want to allow port of 0 to have a randomly selected one.

            Assignee:
            Unassigned Unassigned
            Reporter:
            didier.nadeau@mongodb.com Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: