httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56707] Websocket response incorrectly includes transfer encoding chunked header
Date Fri, 11 Jul 2014 15:25:46 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=56707

--- Comment #5 from Yann Ylavic <ylavic.dev@gmail.com> ---
(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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message