2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Unit-test fixes and manual page updates for DoH configuration

This commit contains fixes to unit tests to make them work well on
various platforms (in particular ones shipping old versions of
OpenSSL) and for different configurations.

It also updates the generated manpage to include DoH configuration
options.
This commit is contained in:
Ondřej Surý
2021-02-02 09:28:23 +01:00
parent 08da09bc76
commit 1cc24a2c8b
5 changed files with 72 additions and 638 deletions

View File

@@ -790,6 +790,10 @@ http2_do_bio(isc_nm_http2_session_t *session) {
* this situation.
*/
sz = nghttp2_session_mem_send(session->ngsession, &data);
if (sz == 0) {
/* No data returned */
return;
}
INSIST(session->r.base == NULL);
session->r.base = isc_mem_get(session->mctx, sz);
session->r.length = sz;