Skip to content

Fix to internal changes in HTTP::Client#4599

Closed
beta-ziliani wants to merge 1 commit intoiv-org:masterfrom
beta-ziliani:fix/crystal1.12
Closed

Fix to internal changes in HTTP::Client#4599
beta-ziliani wants to merge 1 commit intoiv-org:masterfrom
beta-ziliani:fix/crystal1.12

Conversation

@beta-ziliani
Copy link

@beta-ziliani beta-ziliani commented Apr 23, 2024

Crystal 1.12 changed the way timeouts are stored in HTTP::Client. Accessing the fields directly is a bad idea, but the interface doesn't provide getters.

Ref: crystal-lang/crystal#14371

EDIT: This is PR to fix the problem in CI, but with no consideration to possible better alternatives.

@beta-ziliani beta-ziliani requested a review from a team as a code owner April 23, 2024 19:14
@beta-ziliani beta-ziliani requested review from syeopite and removed request for a team April 23, 2024 19:14
@syeopite
Copy link
Member

syeopite commented Apr 23, 2024

Thanks for the pull request!

However the fix is more or less unnecessary since the whole proxy code there is set to get removed in the next batch of PRs merged.

See #4570

@SamantazFox
Copy link
Member

Closing, as I'm going to merge #4570.

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.

3 participants