commit | 72a8a18e89ec39ecb31d2f92ff0ee01bc9035f01 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.com> | Tue Jun 14 18:58:55 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 14 19:42:08 2016 +0200 |
tree | 77340750446a0594d79772b9c713e842242eeaf4 | |
parent | cf9e78879008ee3ec1777fa2d0b45661acbb9380 [diff] |
MEDIUM: dumpstats: make stats_tlskeys_list() yield-aware during tls-keys dump The previous dump algorithm was not trying to yield when the buffer is full, it's not a problem with the TLS_TICKETS_NO which is 3 by default but it can become one if the buffer size is lowered and if the TLS_TICKETS_NO is increased. The index of the latest ticket dumped is now stored to ensure we can resume the dump after a yield.