]> git.ipfire.org Git - thirdparty/hostap.git/commit
browser-wpadebug: Send HTTP response with HTTP/1.1 header
authorPurushottam Kushwaha <pkushwah@qti.qualcomm.com>
Thu, 16 Feb 2017 06:22:46 +0000 (11:52 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 16 Feb 2017 11:35:44 +0000 (13:35 +0200)
commit5db32adc992784e7de4171363c787c5e6c76dda6
tree33d2762a8003fc951f8b976463e94b9f92371453
parentee4b99e741ed86f5fb757007cf875389fa374001
browser-wpadebug: Send HTTP response with HTTP/1.1 header

HTTP response was previously sent as a plaintext without the HTTP header
on port 12345. By default Android webview/Chrome assumes plaintext as
HTTP/0.9 data. Android webview/Chrome has removed support of HTTP/0.9
request/response on non-standard ports, i.e., other than port 80. This
results in error while opening URL 'http://localhost:12345/'.

Fix this by prefixing the HTTP response with the HTTP/1.1 header.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/utils/browser-wpadebug.c