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

Connection attributes are limited to 0xFFFF bytes

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      The protocol has no practical limit on the amount of connection attributes a client can send. The theoretical limit is governed by the 64-bit integer used to store the length of the attributes but in practice this is unlikely to be reached.

      Connector/C limits the attributes to 65535 bytes after which it stops accepting them. The error it returns when this limit is exceeded is CR_INVALID_PARAMETER_NO which isn't very helpful either. The documentation for the attribute also didn't mention this limit before (I added it to the wiki).

      Attachments

        Activity

          People

            georg Georg Richter
            markus makela markus makela
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.