httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 56707] Websocket response incorrectly includes transfer encoding chunked header
Date Fri, 11 Jul 2014 15:25:46 GMT

--- Comment #5 from Yann Ylavic <> ---
(In reply to Ahab. A. from comment #4)
> So to simplify the statement of the problem:
> If my module sets these response headers and used a simple ap_rwrite() api
> to write these headers, Apache would INJECT a Transfer-encoding: chunked
> header which breaks a websocket client.

I think your module shoudn't use ap_rwrite() for that purpose since you are not
writting the response body but the header.

You probably want to use ap_send_interim_response(r, 1) instead, after you set
r->status and fill r->headers_out accordingly.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message