Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tracking of orthogonality fixes #35

Open
chrysn opened this issue Jun 19, 2024 · 1 comment
Open

Tracking of orthogonality fixes #35

chrysn opened this issue Jun 19, 2024 · 1 comment

Comments

@chrysn
Copy link
Member

chrysn commented Jun 19, 2024

There are a few places where I think we were too narrow in where we defined new behavior:

  • BERT could be useful outside of TCPish transports: BERT for non-TCP/WS applications #17
  • Observe has been redefined to have an implicit value twice now (TCPish, OSCORE); a clarification could generalize that notifications carry a Observe: 0 on transports that provide implicit ordering.
  • Signalling messages were defined for TCPish transports. OSCORE said they can be encrypted too without losing many more words on them. Defining that 7xx is signalling (sharing the number space and the per-code option space across all transports)

Even though some of those are no-ops in the protocol (there are no other ordered transports right now, and describing that some signalling messages might be usable on TCP is a different topic), stating that those fundamentally apply everywhere would help readers understand them better, and help implementers find the right abstractions. (Like, "do I need to know the transport just to be able to interpret the code?" … so far, with signaling only on TCPish, an update to CoAP-over-UDP could define different codes there).

@chrysn
Copy link
Member Author

chrysn commented Sep 30, 2024

It may also make sense to generalize that "Observation has an implicit value" property into one of possibly multiple properties that transports have and that applications that set the option need to know. Other properties on that list are the implied scheme, and the way to get the default values for some options (Uri-Host/-Port).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant