apache / apache/camel-quarkus

Servlet extension returns inconsistent response code when multipart request body is too large

Open
#5,830 0 comments 0 reactions 1 assignee Claimed by @jamesnetherton View on GitHub
area/servlet bug
Dominant language
Java
Stars
302
Forks
232
Avg merge
1d 20h
Merged PRs (30d)
114

Description

### Bug description

An oddity discovered when working on https://github.com/apache/camel-quarkus/issues/5326.

If you repeatedly cURL `/my-named-folder/multipart` with a request body larger than the allowed limit, the response code returned is not consistent. Sometimes you get 413 and sometimes it's 500 due to `UT000139 Exchange already complete`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.