- CLICON_RESTCONF_HTTP2_PLAIN set to default false

This commit is contained in:
Olof hagsand 2021-08-27 15:10:14 +02:00
parent aed7dbfd8b
commit e3d0566d3c
8 changed files with 23 additions and 9 deletions

View file

@ -586,13 +586,13 @@ module clixon-config {
}
leaf CLICON_RESTCONF_HTTP2_PLAIN {
type boolean;
default true;
default false;
description
"Applies to plan (non-tls) http/2 ie when clixon is configured with --enable-nghttp2
If false, disable direct and upgrade for plain(non-tls) HTTP/2.
If true, allows direct and upgrade for plain(non-tls) HTTP/2.
This is especially useful in http/1 + http/2 mode to avoid the complex upgrade/switch
from http/1 to http/2.
It may especially useful to disable in http/1 + http/2 mode to avoid the complex
upgrade/switch from http/1 to http/2.
Note this also disables plain http/2 in prior-knowledge, that is, in http/2-only mode.
HTTP/2 in https(TLS) is unaffected";
}