Skip to content

fix(js): reenable HTTP/3 features in JS bindings#57

Merged
barjin merged 1 commit intomasterfrom
fix/js-http3-usage
Feb 19, 2025
Merged

fix(js): reenable HTTP/3 features in JS bindings#57
barjin merged 1 commit intomasterfrom
fix/js-http3-usage

Conversation

@barjin
Copy link
Member

@barjin barjin commented Feb 18, 2025

Recent package updates might have broken the http3 feature in Node.JS bindings. This PR solves the underlying problems by building the reqwest's Client from within the napi-rs-managed tokio runtime.

Adds tests for http3 usage from Node bindings.

Removes problematic Firefox header (Connection is not allowed in HTTP2 and HTTP3 requests or responses and together with forceHttp3 was causing panics inside the Rust code).

Closes #52

@barjin barjin self-assigned this Feb 18, 2025
@barjin barjin merged commit 4b39dba into master Feb 19, 2025
24 checks passed
@barjin barjin deleted the fix/js-http3-usage branch February 19, 2025 09:15
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

Successfully merging this pull request may close these issues.

js: http3 usage causes panic in Rust tooling

1 participant