Skip to content

Drain request body in all error cases in WSGI#94

Merged
anuraaga merged 1 commit into
connectrpc:mainfrom
anuraaga:wsgi-drain-request-body-more
Jan 23, 2026
Merged

Drain request body in all error cases in WSGI#94
anuraaga merged 1 commit into
connectrpc:mainfrom
anuraaga:wsgi-drain-request-body-more

Conversation

@anuraaga

Copy link
Copy Markdown
Collaborator

Almost there I think. Flaky failure in streaming test cases didn't appear anymore after the previous fix, but the test case "invalid content-type" did, because the validation happens before reading any request body in the unary case as well. This adds the drain to all the error handling cases in WSGI.

@anuraaga anuraaga requested a review from a team January 23, 2026 00:29
Signed-off-by: Anuraag Agrawal <anuraaga@gmail.com>
@anuraaga anuraaga force-pushed the wsgi-drain-request-body-more branch from 6d4d85b to 4dc11bd Compare January 23, 2026 00:30
@anuraaga anuraaga merged commit 3b6f3ce into connectrpc:main Jan 23, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants