Commit 274e6f8
committed
client: don't advertise keep-alive in uh_header_error()
The function `uh_header_error()` will tear down the connection after
sending the HTTP reply message, so update the `connection_close` flag
accordingly to avoid incorrectly emitting a `Connection: keep-alive`
header.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>1 parent 1e30935 commit 274e6f8
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
171 | 174 | | |
172 | 175 | | |
173 | 176 | | |
| |||
0 commit comments