apache / apache/servicecomb-java-chassis

上传文件超过大小限制时,错误提示不清晰

Open
#3,831 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

当上传的文件大小超过 servicecomb.uploads.maxSize 时,错误信息不清晰。
配置最大为1G
![image](https://github.com/apache/servicecomb-java-chassis/assets/4955092/f3361c74-30fb-4471-8023-ee8fce5416f7)
上传文件大小为1.35G,日志提示:
![image](https://github.com/apache/servicecomb-java-chassis/assets/4955092/d9e18106-7981-41c8-a398-ea5c60c5ab3a)

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the upload-size validation and error handling associated with servicecomb.uploads.maxSize, then reproduce the reported case with a 1G limit and a 1.35G file. Done means the over-limit upload produces a clear error message that identifies the size-limit condition rather than the current unclear log output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.