Restconf native stream support

This commit is contained in:
Olof hagsand 2024-04-22 14:17:29 +02:00
parent 2d5a646b51
commit 2b2a2ec1ad
14 changed files with 626 additions and 205 deletions

View file

@ -107,6 +107,7 @@ APPSRC += restconf_methods_post.c
APPSRC += restconf_methods_get.c
APPSRC += restconf_methods_patch.c
APPSRC += restconf_root.c
APPSRC += restconf_stream.c
APPSRC += clixon_http_data.c
APPSRC += restconf_main_$(with_restconf).c
ifeq ($(with_restconf),native)
@ -115,11 +116,8 @@ APPSRC += restconf_native.c
APPSRC += restconf_nghttp2.c # HTTP/2
endif
# Fcgi-specific source including main
ifeq ($(with_restconf),fcgi)
# Streams notifications have some fcgi specific handling
# Streams notifications have some fcgi/nghttp2 specific handling
APPSRC += restconf_stream_$(with_restconf).c
endif
# internal http/1 parser
YACCOBJS =