From 290558e7fae146d54c578ccdf3fd38a8efc22be8 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Tue, 2 Jun 2020 10:13:15 +0200 Subject: [PATCH] libhttp mods --- apps/restconf/restconf_libhttp_main.c | 214 +++++++++++++++++++++----- 1 file changed, 174 insertions(+), 40 deletions(-) diff --git a/apps/restconf/restconf_libhttp_main.c b/apps/restconf/restconf_libhttp_main.c index 2f4d8dfe..74c214d4 100644 --- a/apps/restconf/restconf_libhttp_main.c +++ b/apps/restconf/restconf_libhttp_main.c @@ -76,7 +76,7 @@ #endif /* Command line options to be passed to getopt(3) */ -#define RESTCONF_OPTS "hD:f:l:p:d:y:a:u:o:" +#define RESTCONF_OPTS "hD:f:l:p:d:y:a:u:o:P:" /* Need global variable to for signal handler XXX */ static clicon_handle _CLICON_HANDLE = NULL; @@ -137,47 +137,73 @@ usage(clicon_handle h, "\t-y \t Load yang spec file (override yang main module)\n" "\t-a UNIX|IPv4|IPv6 Internal backend socket family\n" "\t-u \t Internal socket domain path or IP addr (see -a)\n" - "\t-o \"