Skip to content

Conversation

@afrind
Copy link
Collaborator

@afrind afrind commented Oct 22, 2025

This creates a mechanism to refresh auth credentials for PUBLISH, SUBSCRIBE_NAMESPACE and PUBLISH_NAMESPACE.

A side-effect is that it allows the subscriber to change the priority of a FETCH (we closed #1204 already but this would address it).

If we decide to address #1270, this will help.

Fixes: #1267
Fixes: #1204

This creates a mechanism to refresh auth credentials for PUBLISH, SUBSCRIBE_NAMESPACE and PUBLISH_NAMESPACE.

A side-effect is that it allows the subscriber to change the priority of a FETCH (we closed #1204 already but this would address it).

If we decide to address #1270, this will help.

Fixes: #1267 
Fixes: #1204
@afrind afrind added Wire Format Related to how messages are serialized and parsed Design Issues or PRs that change how MoQ works including the wire format. labels Oct 22, 2025
@yekuiwang
Copy link
Contributor

Looks good to me. I noticed a few places still using "established subscription", "established upstream subscription", "established downstream subscription", and """established namespace subscription", and could not figure out how to suggest all the changes in this PR, and ended submitting #1333; sorry for that. See more explanations in #1333.

Copy link
Collaborator

@suhasHere suhasHere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if we want to remove Subscribe update . it has more semantics than just auth changes.

@afrind
Copy link
Collaborator Author

afrind commented Oct 30, 2025

I am not sure if we want to remove Subscribe update . it has more semantics than just auth changes.

This PR doesn't remove SUBSCRIBE_UPDATE, it renames it. Then it uses the renamed verb in a couple other places. I prefer this to creating an identical message for updating other things (Request ID + Params).

Copy link
Collaborator

@ianswett ianswett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, but LGTM

@ianswett ianswett changed the title RFC: Change SUBSCRIBE_UPDATE to REQUEST_UPDATE Change SUBSCRIBE_UPDATE to REQUEST_UPDATE and expand ability to update Nov 8, 2025
@afrind
Copy link
Collaborator Author

afrind commented Nov 18, 2025

Discussed in 11/17 Interim:

Wg should move forward with this change. There was separate concern about a broader change that would move all requests to bidirectional streams.

or REQUEST_ERROR message indicating if the update was successful. When an
update is unsuccessful, the publisher MUST also terminate the subscription with
PUBLISH_DONE with error code `UPDATE_FAILED`.
The sender of a request can later send a REQUEST_UPDATE to modify it. The
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is ambiguous when we use the term "request" here. The term request is not defined anywhere IIUC.

PUBLISH_DONE with error code `UPDATE_FAILED`.
The sender of a request can later send a REQUEST_UPDATE to modify it. The
receiver of a PUBLISH can also send REQUEST_UPDATE to modify subscriber sent
parameters.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"the receiver of a PUBLISH" is a subscriber. This conflicts with "to modify subscriber sent parameters."

May be you meant to say " publisher sent parameters" instead ?

Comment on lines 2420 to 2421
receiver of a PUBLISH can also send REQUEST_UPDATE to modify subscriber sent
parameters.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
receiver of a PUBLISH can also send REQUEST_UPDATE to modify subscriber sent
parameters.
receiver of a PUBLISH can also send REQUEST_UPDATE to modify publisher sent parameters.

Copy link
Collaborator

@suhasHere suhasHere left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couple of nits, others looks fine to me.

Copy link
Collaborator

@ianswett ianswett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still LGTM

@ianswett ianswett merged commit af6e9dc into main Dec 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Design Issues or PRs that change how MoQ works including the wire format. Wire Format Related to how messages are serialized and parsed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refresh of namespace subscriptions Can you update the subscriber priority of a FETCH?

6 participants