continue_https_chat(): Explicitly unset CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE
authorFabian Keil <fk@fabiankeil.de>
Mon, 1 Feb 2021 12:14:16 +0000 (13:14 +0100)
committerFabian Keil <fk@fabiankeil.de>
Wed, 3 Feb 2021 10:56:50 +0000 (11:56 +0100)
commit600f26e80bd496757dae911c8fffbba3444cad50
tree634a8ef12d21e177e2d1f4b2a1b95df941c2e3d9
parentcb42d939b2679ba68cfb047c13ed9b21a5b4d249
continue_https_chat(): Explicitly unset CSP_FLAG_CLIENT_CONNECTION_KEEP_ALIVE

... if process_encrypted_request() fails.

This makes it more obvious that the connection will not be reused.
Previously serve() relied on CSP_FLAG_SERVER_CONTENT_LENGTH_SET
and CSP_FLAG_CHUNKED being unset.

Inspired by a patch from Joshua Rogers.
jcc.c