wsgi server: address family discovery is not quite right (#1006)
The code introduced to improve binding to an IPv6 address is based on
similar code in Python itself, but is missing some critical arguments to
the socket.getaddrinfo() call: in particular, the socket type must be
set to SOCK_STREAM, because we want a TCP connection; the AI_PASSIVE
flag should also be passed because we intend to use the result for
binding a listen socket rather than making an outbound connection.
Signed-off-by: Joshua M. Clulow <email address hidden>
1f8ceb7...
by
Paul Melnikov <email address hidden>
Reset counter (#1005)
* Add .reset method to Counter metric
* Update method docstring
* Add a test for .reset() method
Signed-off-by: Paul Melnikov <email address hidden>
Co-authored-by: Chris Marchbanks <email address hidden>
b9edc43...
by
Antti Rasinen <email address hidden>
Enable graceful shutdown for start_{http,wsgi}_server (#999)
Signed-off-by: Antti Rasinen <email address hidden>
9dd6b0d...
by
Chris Marchbanks <email address hidden>
Update OpenMetrics Content Type to 1.0.0 (#997)
OpenMetrics has been released and we support 1.0.0 not 0.0.1.
Signed-off-by: Chris Marchbanks <email address hidden>