Re: Default Max response size in Tomcat

2019-03-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 3/20/19 10:48, Saurav Sarkar wrote: > Thanks a lot Olaf for the response. > > Yes , i have taken care of that condition > > Please find the full code below > > protected void doGet(HttpServletRequest request, > HttpServletResponse response) >

Re: Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
Thanks a lot Olaf for the response. Yes , i have taken care of that condition Please find the full code below protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { try { String param = request.getParameter("size");

Re: Default Max response size in Tomcat

2019-03-20 Thread Olaf Kock
On 20.03.19 12:08, Saurav Sarkar wrote: > Just to add the stack trace. > > I am getting ClientAbortException "Connection reset by peer" when i am > trying to write to the response stream > > 2019-03-20T10:32:28.501+ [APP/PROC/WEB/0] ERR > org.apache.catalina.connector.ClientAbortException:

Re: Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
Just to add the stack trace. I am getting ClientAbortException "Connection reset by peer" when i am trying to write to the response stream 2019-03-20T10:32:28.501+ [APP/PROC/WEB/0] ERR org.apache.catalina.connector.ClientAbortException: java.io.IOException: Connection reset by peer 2019-03-20

Default Max response size in Tomcat

2019-03-20 Thread Saurav Sarkar
Hi All I have a very basic test application which serves bytes from memory and gives it back to the client. Whenever i try to send the request for byte size which is of over 2 GB i get a connection reset error in my server code and a 502 error in my chrome console. Below 2 GB it is working fine.