Olof hagsand
12695c5d87
* Unit test ifdef for restconf http1 parser
...
* test: fix cli-union test
2022-02-17 09:16:01 +01:00
Olof hagsand
61661e6940
Restconf and http/1 modifications for http/1-only
2022-02-15 15:48:37 +01:00
Olof hagsand
c006c6189d
- Fixed restconf http/1 only compile errors
2022-02-15 09:31:32 +01:00
Olof hagsand
82e0d907b3
restconf typo, left minimal debug recv buffer in place
2022-02-15 08:52:57 +01:00
Olof hagsand
12dddfd794
* RESTCONF,
...
* Refactored http1 code
* fixed some http1/http2 only compile issues
2022-02-14 21:03:23 +01:00
Olof hagsand
10886a31a2
* Fixed inefficient RESTCONF HTTP/1 read body by appending bufs instead of re-parsing
...
* Fixed: http1 by mistake included in fcgi build
* Test: restconf perf test uses restconf for initial setup instead of netconf
2022-02-12 21:54:22 +01:00
Olof hagsand
abaf122bfc
RESTCONF HTTP/1 Incomplete header handling
2022-02-09 12:39:28 +01:00
Olof hagsand
4aa74fa1d8
* Restconf native http/1, first working version
...
* Renamed files clixon_http -> restconf_http
* Split main file into restconf_native.c
* Remove all evhtp code and libevhtp/libevent dependency
2022-02-08 18:59:47 +01:00
Olof hagsand
dadf4a778a
* HTTP/1 native parser as part of the RESTCONF client
...
* Fixed memory error in opendir/readdir in clicon_file_dirent
* Remove MAXPATH in parsers
* New string-del function
2022-02-08 16:59:08 +01:00
Olof hagsand
77b4468eb3
Updated copyright statements to 2022
2022-01-18 16:36:00 +01:00
Olof hagsand
b70e22096e
- Pagination: enabled LIST_PAGINATION and remobved constant
...
- Changed logic on how to find clixon_restconf in pseudo plugin
- Removed ==== in constants to avoid conflict with git merge
- Remove assert
- Added fuzzing for netconf
2021-09-23 13:33:26 +02:00
Olof hagsand
55377786c1
Fix tests for http/1 and http/2 only respectively
2021-09-21 21:23:33 +02:00
Olof hagsand
aed7dbfd8b
- Restconf error: added special case for translating from netconf invalid-value to 400 vs 404
...
- Added media to restconf sanity checks, such as bad client cert error
2021-08-27 15:12:50 +02:00
Olof hagsand
c5da97e2a4
restconf memleaks
2021-06-24 13:09:18 +02:00
Olof hagsand
4f513385e9
- Restconf native http/1 to http/2 upgrade (non-tls)
2021-06-13 12:43:19 +02:00
Olof hagsand
84f5762ab5
* Most tests work with HTTP/2 support using nghttp2
...
* except non-ssl http/1->/2 upgrade
* Restconf: ensure HEAD method works everywhere GET does.
2021-06-08 20:53:43 +02:00