Olof hagsand
69eaf98913
Remove extra lines
2024-12-05 17:35:05 +01:00
Olof hagsand
62a4b5feff
Restconf native+http/1 + tls
...
Added command-line timeout -t <sec> to restconf
Example: Added programmable timeout to backend example
Test: updated for fcgi and native using internal timeouts
2024-05-13 23:13:05 +02:00
Olof hagsand
24a4991ec8
Restructured error,debug anf log API
...
Renamed functions clicon->clixon, replaced global variables w access functions
Unified clicon_netconf_error with clixon_err()
2023-12-18 08:29:14 +01:00
Olof hagsand
62348fc9c7
C-style update: Unified comment, retvals in order, remove trailing spaces
...
Changed function name for `clicon_debug` functions
2023-10-23 09:58:13 +02:00
Olof hagsand
d84c529ff1
[Code formatting: Change indentation style to space]( https://github.com/clicon/clixon/issues/379 )
...
* Applies to all c/h/y/l/sh files and .editorconfig
2022-10-27 14:21:17 +02:00
Olof hagsand
76213057b6
* Extended the Restconf implementation with a limited www-data
...
* This is an experimental implementation
* Added `www-data` feature and two new config options to clixon-config.yang:
* `CLICON_WWW_DATA_PATH`
* `CLICON_WWW_DATA_ROOT`
* The limited implemtation is as follows:
* path: Local files within `CLICON_WWW_DATA_ROOT`
* operation GET, HEAD, or OPTIONS
* query parameters not supported
* indata should be NULL (no write operations)
* Limited media: text/html, JavaScript, image, and css
* Authentication as restconf
Generic changes:
* Uniform path selection across fcgi, native http/1 + http/2
2022-04-21 16:01:33 +02:00
Olof hagsand
77b4468eb3
Updated copyright statements to 2022
2022-01-18 16:36:00 +01:00
Olof hagsand
3539a80d5e
restconf fcgi mem leak in indata
...
test pkill needs sleep before name settles
2021-06-27 16:40:27 +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
Olof hagsand
c7e7598e3b
* Updated "evhtp" restconf mode
...
* No reliance on libevent or libevhtp, but on libssl >= 1.1 directly
* Moved out event handling to clixon event handling
* Moved out all ssl calls to clixon
* New code MUST use libevhtp from https://github.com/clixon/clixon-libevhtp.git
* This does NOT work: libevhtp from https://github.com/criticalstack/libevhtp.git
2021-03-30 16:00:03 +02:00
Olof hagsand
68371d4fc5
upgrade copyright, aux tools, etc
2021-01-21 12:23:46 +01:00
Olof hagsand
96b50b88e8
Copyright 2021
2021-01-13 14:40:34 +01:00
Olof hagsand
5dc2a6387d
unified curl test options
2020-07-03 14:13:15 +02:00
Olof hagsand
593ed2ef3b
Added const char * in multiple places
2020-07-02 19:25:48 +02:00
Olof hagsand
e2b3cdb3f6
Moved restconf_stream.c -> restconf_stream_fcgi.c, made some generaizations and documented what was hardcoded to FCGI
2020-06-23 15:00:41 +02:00
Olof hagsand
6e714beea5
* Restconf FCGI (eg via nginx) have changed reply message syntax slightly
...
* native http: new restconf_err files, generic data input, restconf_methods generalized.
* test: expecteq removed.
2020-06-16 21:51:00 +02:00
Olof hagsand
e2d9c046af
further restconf refactoring
2020-06-11 21:54:09 +02:00