Thanks Greg, I was able to get it working with the following code:
@Override
protected void onResponseContent(HttpServletRequest request,
HttpServletResponse response, Response proxyResponse, byte[] buffer, int
offset, int length, Callback callback) {
super.onResponseContent(request, response,
You are able to call response.flushBuffers() to flush any buffered content.
On Tue, 12 July 2022, 14:25 LP via jetty-users,
wrote:
> Hi,
>
> My understanding of HTTP/1.1 chunking is that it's considered to be a
> hop-to-hop feature, and so if the server behind an (Async)ProxyServlet
>
Hi,
My understanding of HTTP/1.1 chunking is that it's considered to be a
hop-to-hop feature, and so if the server behind an (Async)ProxyServlet responds
with a stream of small chunks they can be buffered. This poses a challenge for
some chunking use-cases, including SSE (Server Sent Events).