Missing flushBuffer() in ConcatProxyServlet
-------------------------------------------

                 Key: SHINDIG-415
                 URL: https://issues.apache.org/jira/browse/SHINDIG-415
             Project: Shindig
          Issue Type: Bug
          Components: Gadget Rendering Server (Java)
         Environment: all
            Reporter: christof kaleschke


The ConcatProxyServlet doesn't call wrapper.flushBuffer(); at any time. That 
causes the behavior that files (eg. JavaScript files) are fetched from others 
servers but are not transferred to the browser.

I had the case that a JavaScript file was fetched from another server (I could 
see that in the network monitor) by ProxyHandler.fetch(), but the response 
transferred to the browser was empty.
When I added wrapper.flushBuffer(); just before response.setStatus(200); in the 
ConcatProxyServlet.doGet() the JavaScript was transferred correctly.

One might think of adding flushBuffer() in the other Servlets as well :-) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to