Skip to content

Remove RFC 7540 priorities#2287

Merged
tatsuhiro-t merged 1 commit intomasterfrom
remove-rfc7540-priority
Jan 10, 2025
Merged

Remove RFC 7540 priorities#2287
tatsuhiro-t merged 1 commit intomasterfrom
remove-rfc7540-priority

Conversation

@tatsuhiro-t
Copy link
Copy Markdown
Member

Summary of the behavioral changes in public API functions:

  • nghttp2_session_change_stream_priority: This function is noop. It always returns 0.
  • nghttp2_session_create_idle_stream: This function is noop. It always returns 0.
  • nghttp2_submit_request: pri_spec is ignored.
  • nghttp2_submit_request2: pri_spec is ignored.
  • nghttp2_submit_headers: pri_spec is ignored.
  • nghttp2_submit_priority: This function is noop. It always returns 0.
  • nghttp2_stream_get_parent: This function always returns NULL.
  • nghttp2_stream_get_next_sibling: This function always returns NULL.
  • nghttp2_stream_get_previous_sibling: This function always returns NULL.
  • nghttp2_stream_get_first_child: This function always returns NULL.
  • nghttp2_stream_get_weight: This function always returns NGHTTP2_DEFAULT_WEIGHT.
  • nghttp2_stream_get_sum_dependency_weight: This function always returns 0.

Summary of the behavioral changes in public API functions:

- nghttp2_session_change_stream_priority: This function is noop.  It
  always returns 0.
- nghttp2_session_create_idle_stream: This function is noop.  It
  always returns 0.
- nghttp2_submit_request: pri_spec is ignored.
- nghttp2_submit_request2: pri_spec is ignored.
- nghttp2_submit_headers: pri_spec is ignored.
- nghttp2_submit_priority: This function is noop.  It always returns
  0.
- nghttp2_stream_get_parent: This function always returns NULL.
- nghttp2_stream_get_next_sibling: This function always returns NULL.
- nghttp2_stream_get_previous_sibling: This function always returns
  NULL.
- nghttp2_stream_get_first_child: This function always returns NULL.
- nghttp2_stream_get_weight: This function always returns
  NGHTTP2_DEFAULT_WEIGHT.
- nghttp2_stream_get_sum_dependency_weight: This function always
  returns 0.
@tatsuhiro-t tatsuhiro-t added this to the v1.65.0 milestone Jan 10, 2025
@tatsuhiro-t tatsuhiro-t merged commit cb8421e into master Jan 10, 2025
@tatsuhiro-t tatsuhiro-t deleted the remove-rfc7540-priority branch January 10, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant