I am sending ~10MB data to Tomcat through PUT call. I have increased POST size allowed on Tomcat. However, in the middle of sending that data, my Spring Security returns an authorization error (which is a valid error as per application logic). The client does not notice this and keeps sending data to the server which eventually resets the connection. My question is whether some setting in Tomcat by default starts 'streaming' data to controller servlet as soon as the client starts sending request? Else, what makes it not wait for full data before sending response?
Server number: 184.108.40.206