[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #13 from Mark Thomas --- Workaround has been implemented in: - 10.0.x for 10.0.14 onwards - 9.0.x for 9.0.56 onwards - 8.5.x for 8.5.74 onwards 10.1.x is not affected since it requires Java 11 as a minimum -- You are receiving th

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-02 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 Mark Thomas changed: What|Removed |Added Resolution|--- |INVALID Status|NEEDINFO

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #11 from promena...@163.com --- I am confused why Java 8 in Tomcat 9.0.52 can autoRelease the handle. while Java 8 Tomcat 9.0.54 cann't. -- You are receiving this mail because: You are the assignee for the bug. ---

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #10 from promena...@163.com --- (In reply to Christopher Schultz from comment #8) > (In reply to promenader from comment #5) > > public String upload(@RequestParam("file") MultipartFile file){ > > try{ > > Inp

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #9 from promena...@163.com --- (In reply to Mark Thomas from comment #7) > My testing so far indicates that this is a Java 8 bug. With Java 11 the file > descriptors are cleaned up. In Java 8, they are not. Yes. This is in Java 8. B

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #8 from Christopher Schultz --- (In reply to promenader from comment #5) > public String upload(@RequestParam("file") MultipartFile file){ > try{ > InputStream inputStream = file.getInputStream(); >

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #7 from Mark Thomas --- My testing so far indicates that this is a Java 8 bug. With Java 11 the file descriptors are cleaned up. In Java 8, they are not. -- You are receiving this mail because: You are the assignee for the bug. --

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #6 from Mark Thomas --- Java version? -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.a

[Bug 65710] multipartfile stream close doesn't release the handle

2021-12-01 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #5 from promena...@163.com --- test code: @RestController @RequestMapping(value = "/demo") public class DemoController { @RequestMapping(value = "/upload",method = RequestMethod.POST) public String upload(@RequestParam("file

[Bug 65710] multipartfile stream close doesn't release the handle

2021-11-30 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #4 from Christopher Schultz --- (In reply to promenader from comment #3) > In this case. there are already exists handle leaks. Tomcat 9.0.52 can > autoRelease it. Tomcat 9.0.54 will not. Do you have a test-case we can use to repro

[Bug 65710] multipartfile stream close doesn't release the handle

2021-11-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #3 from promena...@163.com --- In this case. there are already exists handle leaks. Tomcat 9.0.52 can autoRelease it. Tomcat 9.0.54 will not. -- You are receiving this mail because: You are the assignee for the bug. ---

[Bug 65710] multipartfile stream close doesn't release the handle

2021-11-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 Mark Thomas changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #2 from Mark Thomas

[Bug 65710] multipartfile stream close doesn't release the handle

2021-11-29 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=65710 --- Comment #1 from Mark Thomas --- Possibly related to the Commons File Upload update in 9.0.53 -- You are receiving this mail because: You are the assignee for the bug. - T