Skip to content

fix: only use manual conversion for DELETE with content#269

Open
augustoccesar wants to merge 2 commits intomainfrom
augustoccesar/temp-solution-for-delete-requests
Open

fix: only use manual conversion for DELETE with content#269
augustoccesar wants to merge 2 commits intomainfrom
augustoccesar/temp-solution-for-delete-requests

Conversation

@augustoccesar
Copy link
Copy Markdown
Member

@augustoccesar augustoccesar commented Mar 30, 2026

Description

On #263 we changed the conversion of the request from the internal try_into from workers-rs for a manual one to be able to proxy DELETE requests with body. This caused the performance issues reported and with a proposed fix on #268.

The changes on #268 however re-introduced the original issue that #263 was attempting to fix, as in it's core, it is what the try_into for the Request does.

As a middle ground, this PR proposes a temporary workaround for the DELETE with body without compromising the performance of other requests.

### Description
On #263 we changed the conversion of the request from the internal try_into from workers-rs for a
manual one to be able to proxy DELETE requests with body.
This caused the performance issues reported and with a proposed fix on #268.

The changes on #268 however re-introduced the original issue that #263 was attempting to fix, as in
it's core, it is what the `try_into` does.

As a middle ground, this PR proposes a workaround for the DELETE with body without compromising the
performance of other requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants