willard-kali opened a new issue #1347: Can not close file when upload file body without the end delimiter URL: https://github.com/apache/servicecomb-java-chassis/issues/1347 **Step:** 1. use edge service to route REST url request, use class org.apache.servicecomb.transport.rest.vertx.RestBodyHandler to parse request body,including files. 2. server has a REST interface, like Content-Type: multipart/form-data, accept file(s). 3. send a post request to the file upload REST, and use proxy tool to modify the request raw. use the latest version. **For example:** [Normal] > POST /url/ HTTP/1.x xxxxxx Content-Type: multipart/form-data; boundary=--------1122334455 xxxxxx --------1122334455 ...file... --------1122334455 ...file... --------1122334455-- [Abnormal] > POST /url/ HTTP/1.x xxxxxx Content-Type: multipart/form-data; boundary=--------1122334455 xxxxxx --------1122334455 ...file... --------1122334455 ...file... Use abnormal body to request, it will be wating to timeout. I find the NettyFileUpload#addContent param-last is false, it will not into if branch to execute end() method, so the file will not close in endHandler after open by HttpServerFileUploadImpl#streamToFileSystem. Is there an elegant way to solve this problem?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services