Skip to content

mv value needs encoding specified #239

Closed

Description

@markafoltz

The mv value in the mDNS TXT record is an integer, but the spec does not say how to encode it.

Choices include:

  1. ASCII as hex or base10
  2. Big endian (network byte order)
  3. QUIC varint

Since values are likely to remain small (< 10000), I would favor option 1 which prioritizes readability.

Activity

  1. self-assigned this
    on Dec 30, 2019
  2. chrisn commented on Dec 31, 2019

    @chrisn
    Member

    I agree, and this would be consistent as the other values in the TXT record are also readable.

    As an aside, reading this part of the OSP spec, there's a reference to RFC5122 for the fp field - should this be RFC8122?

  3. markafoltz commented on Mar 2, 2021

    @markafoltz
    ContributorAuthor

    Addressed by #253.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions