You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/02/19 08:16:00 UTC

[GitHub] [servicecomb-java-chassis] SenixCoder edited a comment on issue #1979: 2.1.0版本 文件下载服务提供者 FilePart.setDeleteAfterFinished(true)未生效

SenixCoder edited a comment on issue #1979:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1979#issuecomment-781902047


   项目使用的是tomcat,在tomcat容器下,setDeleteAfterFinished(true)不生效;
   修改方法是在PumpFromPart#toOutputStreamSync方法中,添加一行代码
   future.whenComplete((avoid, throwable) -> DownloadUtils.clearPartResource(part));
   稍后提交一份PR


----------------------------------------------------------------
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:
users@infra.apache.org