Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
h3: set stream priority after headers buffered
send_headers() can fail if there is not enough stream capacity to buffer encoded headers and applications are expected to try again later. Previously, send_response_with_priority() would update the stream priority prior to send_headers(), which might surprise some types of applications relying on the writable() iterator. This change swaps the ordering around so that priority is only changed after headers have been successfully buffered.
- Loading branch information