Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-511

Increase HOSTNAME_LENGTH

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not a Bug
    • Affects Version/s: 3.1.10
    • Fix Version/s: N/A
    • Component/s: None
    • Labels:
      None

      Description

      The maximum supported length of a hostname is limited by constant HOSTNAME_LENGTH up to 60 chars and should be increased to 254.

      manpage for hostname(7) says:
      "Each element of the hostname must be from 1 to 63 characters long and the entire hostname, including the dots, can be at most 253 characters long. Valid characters for hostnames are ASCII(7) letters from a to z, the digits from 0 to 9, and the hyphen . A hostname may not start with a hyphen."

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            georg Georg Richter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration