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

refactor(fetch): reimplement fetch with hyper instead of reqwest #24237

Merged
merged 49 commits into from
Jul 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9414b37
refactor: reimplement fetch with hyper instead of reqwest
seanmonstar Jul 2, 2024
b3a969d
add request_builder_hook back
seanmonstar Jul 2, 2024
7ebe019
add copyright to proxy.rs file
seanmonstar Jul 2, 2024
a652549
send user-agent with proxy tunnel request
seanmonstar Jul 2, 2024
a86ca03
fix https tunneling, add back socks
seanmonstar Jul 2, 2024
9e46f21
format imports
seanmonstar Jul 2, 2024
3108c3c
fix proxy parsing unit test
seanmonstar Jul 2, 2024
ae7bba9
format unit tests
seanmonstar Jul 2, 2024
ab54f12
clippy the fetch crate
seanmonstar Jul 2, 2024
6218613
format after clippy
seanmonstar Jul 2, 2024
c435533
clippy and fmt kv/cli
seanmonstar Jul 2, 2024
f1b03dd
add reqwest dev-dependency; fix tests
bartlomieju Jul 2, 2024
349bb41
Merge branch 'main' into fetch-with-hyper
bartlomieju Jul 2, 2024
6a274bc
use workspace reqwest
bartlomieju Jul 3, 2024
29e4aee
fix copyright
bartlomieju Jul 3, 2024
c959ea8
fix proxy parse from env test
seanmonstar Jul 3, 2024
571944c
fix non-proxy to not send absolute-form
seanmonstar Jul 3, 2024
04da78a
fetch tests: remove space between gzip, br
seanmonstar Jul 3, 2024
b6b12f4
tests: update error message assertions
seanmonstar Jul 3, 2024
e8d746e
tests: fix serve_test error message assertion
seanmonstar Jul 3, 2024
c6b4070
Merge remote-tracking branch 'upstream/main' into fetch-with-hyper
seanmonstar Jul 3, 2024
43f2cb9
tests: fix async error stack pattern assertion
seanmonstar Jul 3, 2024
693ae6d
macos: remove rustls-native-certs dependency
seanmonstar Jul 3, 2024
8f533b1
Merge remote-tracking branch 'upstream/main' into fetch-with-hyper
seanmonstar Jul 3, 2024
0ce1075
more test error message changes
seanmonstar Jul 3, 2024
557d2dd
fetch: port over NO_PROXY support
seanmonstar Jul 3, 2024
664ff10
some review comments
seanmonstar Jul 3, 2024
1142d8e
get error class from hyper errors
seanmonstar Jul 3, 2024
a471b13
remove body error source check
seanmonstar Jul 3, 2024
f3beefa
extract hyper body error source again
seanmonstar Jul 3, 2024
d6d3dc2
use a ResourceBodyError sentinel type
seanmonstar Jul 4, 2024
2148659
Merge remote-tracking branch 'upstream/main' into fetch-with-hyper
seanmonstar Jul 4, 2024
b6aaf04
remove ResourceBodyError wrapper, it didn't work
seanmonstar Jul 5, 2024
92ffdf7
Merge branch 'main' into fetch-with-hyper
bartlomieju Jul 5, 2024
8ccf6c7
lint
bartlomieju Jul 5, 2024
b66e01a
send proxy-authorization when proxy is http forward
seanmonstar Jul 6, 2024
2a75c2b
Merge remote-tracking branch 'upstream/main' into fetch-with-hyper
seanmonstar Jul 6, 2024
31994c0
fmt
seanmonstar Jul 6, 2024
d2a4f2b
Merge remote-tracking branch 'upstream/main' into fetch-with-hyper
seanmonstar Jul 8, 2024
2354a6e
Merge remote-tracking branch 'upstream/main' into fetch-with-hyper
seanmonstar Jul 8, 2024
434b431
Merge remote-tracking branch 'upstream/main' into fetch-with-hyper
seanmonstar Jul 8, 2024
673deb8
reset CI
bartlomieju Jul 8, 2024
e35038f
Merge branch 'main' into fetch-with-hyper
bartlomieju Jul 8, 2024
5eb1fdf
Merge branch 'main' into fetch-with-hyper
bartlomieju Jul 9, 2024
58efd4d
allow proxy tunnel response to have more headers
seanmonstar Jul 9, 2024
04ff732
Merge branch 'main' into fetch-with-hyper
bartlomieju Jul 9, 2024
ee6526c
Merge branch 'main' into fetch-with-hyper
bartlomieju Jul 9, 2024
4db5c39
gh cache bust
bartlomieju Jul 9, 2024
7f064c5
Merge branch 'main' into fetch-with-hyper
bartlomieju Jul 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint
  • Loading branch information
bartlomieju committed Jul 5, 2024
commit 8ccf6c78c55c1ca2a18cf58b60fe0d70e527653d
1 change: 0 additions & 1 deletion cli/tools/registry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ use deno_core::futures::StreamExt;
use deno_core::serde_json;
use deno_core::serde_json::json;
use deno_core::serde_json::Value;
use deno_runtime::deno_fs::FileSystem;
use deno_terminal::colors;
use http_body_util::BodyExt;
use lsp_types::Url;
Expand Down
Loading