To make repro easier:
https://gist.github.com/mwisnicki/6df71b2b5f7712306fca27bf34c24e94
On Tue, 10 Aug 2021 at 04:00, Marcin Wisnicki wrote:
>
> However I've noticed that in Tomcat the behaviour can only be achieved
> by throwing an exception before close.
> If I don't t
e('0')
without using exceptions?
On Tue, 10 Aug 2021 at 03:27, Marcin Wisnicki wrote:
>
> Thanks, it seems like it must be one of Spring Boot's filters breaking
> it. I should've tried without it first, mea culpa.
> In a pure tomcat container it works as you described wh
to clients.
I'll move my question to a more appropriate forum.
On Tue, 10 Aug 2021 at 02:45, Mark Thomas wrote:
>
> On 10/08/2021 02:25, Marcin Wisnicki wrote:
> > I have a servlet (it's really a SpringBoot controller but it shouldn't
> > matter?) in Tomcat 9.0.4
I have a servlet (it's really a SpringBoot controller but it shouldn't
matter?) in Tomcat 9.0.46 that streams responses of unknown size to
the browser.
I've discovered that if the streaming process fails in the middle of
the write, the client will simply get an incomplete file and think it
was suc