Skip to content

Refresh module onto Deno v2 and JSR.io#2

Merged
danopia merged 5 commits intomainfrom
jsr-refresh
Sep 23, 2025
Merged

Refresh module onto Deno v2 and JSR.io#2
danopia merged 5 commits intomainfrom
jsr-refresh

Conversation

@danopia
Copy link
Member

@danopia danopia commented Sep 23, 2025

No description provided.

@danopia danopia mentioned this pull request Sep 23, 2025
The current logic crudely processes the entire response stream
until the socket is closed.

Some servers cause rustls to throw UnexpectedEof after processing
all inbound packets. The google-dns example exhibits this.

This patch ignores these errors and considers the response body intact.

Further information:
https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof
@danopia danopia merged commit 7b85f0f into main Sep 23, 2025
9 checks passed
@danopia danopia deleted the jsr-refresh branch September 23, 2025 19:38
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.

1 participant