Files
bind9/lib/isc
Tony Finch e18ca83a3b Improve statschannel HTTP Connection: header protocol conformance
In HTTP/1.0 and HTTP/1.1, RFC 9112 section 9.6 says the last response
in a connection should include a `Connection: close` header, but the
statschannel server omitted it.

In an HTTP/1.0 response, the statschannel server can sometimes send a
`Connection: keep-alive` header when it is about to close the
connection. There are two ways:

If the first request on a connection is keep-alive and the second
request is not, then _both_ responses have `Connection: keep-alive`
but the connection is (correctly) closed after the second response.

If a single request contains

	Connection: close
	Connection: keep-alive

then RFC 9112 section 9.3 says the keep-alive header is ignored, but
the statschannel sends a spurious keep-alive in its response, though
it correctly closes the connection.

To fix these bugs, make it more clear that the `httpd->flags` are part
of the per-request-response state. The Connection: flags are now
described in terms of the effect they have instead of what causes them
to be set.
2023-06-15 17:03:09 +01:00
..
2023-06-15 15:32:04 +02:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:47 +00:00
2023-02-26 22:56:07 +00:00
2023-02-15 16:44:47 +00:00
2023-05-15 20:49:42 +00:00
2023-05-15 20:49:42 +00:00
2023-05-18 15:12:23 +02:00
2023-02-16 18:35:32 +01:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:47 +00:00
2023-02-16 18:35:32 +01:00
2023-02-15 16:44:47 +00:00
2023-06-15 15:32:04 +02:00
2023-03-28 12:38:28 -07:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:47 +00:00
2023-02-15 16:44:09 +00:00
2023-05-19 11:02:59 +02:00
2023-04-12 14:10:37 +02:00
2023-02-16 18:35:32 +01:00
2023-04-27 12:38:53 +02:00