Olof hagsand
585823a609
Memory leaks
2023-02-14 16:42:43 +01:00
Olof hagsand
5b9921933a
Freebsd socketpair include problems and lack of TAB in vagrant Makefile
2022-12-27 11:58:13 +01:00
Olof hagsand
981d6f3797
Cleanup: vagrant typo
2022-12-03 18:48:08 +01:00
Olof hagsand
d91eebf889
(really) fix vagrant log file name
2022-11-29 16:33:10 +01: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
bb069aa7b8
Test: fixed snmp for docker/fcgi
2022-07-27 18:28:24 +02:00
Olof hagsand
05918e3ca2
Test: change make test from all -> sum, make vagrant yang checkout more resilient
...
New slack invite
2022-06-23 16:37:22 +02:00
Olof Hagsand
ac7673bc35
Fixed static build typo
...
Test: grep --null -Eo not supported on ubunti 20
Enable IPv6 for ubuntu
Vagrant: enable insecure downloads
2022-04-09 15:14:18 +00:00
Olof hagsand
3d59077894
vagrant test: patch yangmodels, changed to main
2022-03-28 19:20:30 +02:00
Olof hagsand
e0f5472161
Tests: added expect script for pagination stdio
2022-03-14 14:02:21 +01:00
Olof hagsand
2291275fae
Fixed: [Restconf PATCH method request failed on item defined by submodule #306 ]( https://github.com/clicon/clixon/issues/306 )
2022-02-23 11:20:52 +01:00
Olof hagsand
31719b5ef4
Test: yang models added patches to counter https://github.com/YangModels/yang/issues/1165
2022-02-20 11:48:52 +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
1808015cf6
Fixed: SEGV when starting FCGI restconf program
...
- Reverted removal of CLICON_RESTCONF_PATH since it was used there
Misc fixes: initialized variables, docs, removed obsolete --enable-optyang
2021-12-30 16:35:54 +01:00
Olof hagsand
4fbad467df
* Tests: use YANG_STANDARD_DIR from ./configure --with-yang-standard-dir=DIR instead of YANGMODELS from site.sh
2021-12-16 22:44:45 +01:00
Olof hagsand
01002ab14a
vagrant script updates
2021-11-30 16:00:41 +01:00
Olof hagsand
2a84fb089f
Vagrant scripts adjusted for external YANG models and freebsd
2021-11-30 15:25:33 +01:00
Olof hagsand
bd8cbbc393
Merge branch 'alanyanigersiklu-yang-patch-alanfork'
2021-08-10 19:50:27 +02:00
Phil Heller
b200361620
Testing dependency fixes, Netconf XML declaration and filter logic fix
...
Install libnghttp2-devel in ubuntu and centos per required dependencies
Ignore case when checking XML declaration encoding value per W3C recommendations
Fix filter logic to follow RFC6241 (7.1, 7.7) and default to subtree
2021-08-10 19:32:02 +02:00
Phil Heller
3c5f956805
Merge branch 'master' into filter-and-xml-encoding-fixes
2021-07-29 23:01:47 -06:00
Phil Heller
38f4cd8237
Testing dependency fixes, Netconf XML declaration and filter logic fix
...
Install libnghttp2-devel in ubuntu and centos per required dependencies
Ignore case when checking XML declaration encoding value per W3C recommendations
Fix filter logic to follow RFC6241 (7.1, 7.7) and default to subtree
2021-07-29 22:48:07 -06:00
Olof Hagsand
caf396cbda
- disable util_validate
...
- test vagrant: add libnghttp2 dependency
2021-06-24 17:41:46 +00:00
Olof hagsand
ae02d02d63
Several fixes to restconf internal and vagrants tests
2021-05-24 13:10:21 +02:00
Olof hagsand
603f70e51f
Vagrant and test updates for restconf /www-data mods
2021-05-23 19:55:01 +02:00
Olof hagsand
172cfd69b3
- Fixed [clixon_proc can't start new process with PATH env #202 ]( https://github.com/clicon/clixon/issues/202 )
...
- Memory errors in tests
2021-04-14 17:02:24 +02:00
Olof hagsand
d8be601606
* To configure native mode use: configure --with-restconf=native, changed from: configure --with-restconf=evhtp
2021-04-06 08:48:45 +02:00
Olof hagsand
698625aa65
evhtp configure and warnings
2021-04-02 13:09:53 +02:00
Olof hagsand
e9df7b81f2
Building problems with evhtp
2021-03-31 22:38:24 +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
c2f07fd29c
test fixes: mod timer for arm and install libevhtp lin in /us/lib
2021-03-06 17:04:31 +01:00
Olof hagsand
e8cd587ded
Changed libevhtp tests to compile from clicon instead of criticalstack
2021-03-03 21:57:19 +01:00
Olof Hagsand
f7d4df01a6
restconf test fixes for freebsd and others
2021-02-12 16:30:30 +00:00
Olof hagsand
96b50b88e8
Copyright 2021
2021-01-13 14:40:34 +01:00
Olof hagsand
8cde7a4ded
* Handling empty netconf XML messages "]]>]]>" is changed from being accepted to return an error.
...
* Netconf split lines input (input fragments) fixed
* Netconf input split on several lines, eg using stdin: "<a>\nfoo</a>]]>]]>" could under some circumstances be split so that only "</a>]]>]]>" be properly processed. This could also happen to a socket receiving a sub-string and then after a delay receive the rest.
* Fixed by storing residue and add that to the input string if later input is received on the same socket.
* Use [https://github.com/clicon/libevhtp ](https://github.com/clicon/libevhtp ) instead of [https://github.com/criticalstack/libevhtp ](https://github.com/criticalstack/libevhtp ) as a source of the evhtp source
2021-01-07 16:57:47 +01:00
Olof Hagsand
99c570e278
test/vagrant fixes
2020-12-03 14:23:59 +00:00
Olof hagsand
f69daf773e
more test and vagrant for nginx checks
2020-11-25 19:48:42 +01:00
Olof hagsand
ccadd3f9ea
test: sleep 0.5s; vagrant centos: ipv6 enable
2020-11-24 18:29:04 +01:00
Olof hagsand
8d8a37d18e
test and vagrant fixes
2020-11-24 10:38:58 +01:00
Olof hagsand
ae8e287dd9
test / restconf /vagrant fixes
2020-11-21 16:10:38 +01:00
Olof hagsand
3d10c3bfcb
evhtp debugging: memleaks, test errors, etc
2020-11-19 18:06:20 +01:00
Olof hagsand
fab261cb53
* Added XPATH functions position
2020-10-27 09:40:45 +01:00
Olof Hagsand
85f069fa8a
vagrant updates
2020-10-18 15:23:20 +00:00
Olof hagsand
0e4df0e8fc
Added options for Restconf evhtp setting default bind socket address and ports CLICON_RESTCONF_IPV4_ADDR, CLICON_RESTCONF_IPV6_ADDR, CLICON_RESTCONF_HTTP_PORT, CLICON_RESTCONF_HTTPS_PORT
2020-08-21 13:13:20 +02:00
Olof hagsand
f073c4221d
CHANGLEOG 4.6
2020-08-13 17:09:38 +02:00
Olof hagsand
3d33335f4b
Last minute documentation and testing changes befoire 4.6
2020-08-13 14:58:42 +02:00
Olof Hagsand
57d7587d9a
vagrant, docker and remote test small changes
2020-07-23 17:23:08 +00:00
Olof Hagsand
94bf490a79
made c-compiler configurable, and added /usr/local as include path for cc and c++ tests
2020-07-10 13:22:45 +00:00
Olof Hagsand
53deedc242
vagrant tests eg with evhtp
2020-07-10 12:33:30 +00:00
Olof hagsand
1597bd303c
changed cligen repo from olofhagsand/cligen to clicon/cligen
2020-06-21 15:57:43 +02:00
Olof hagsand
126cc209f4
restconf fcgi refactoring and generalizing restconf tests for evhtp
2020-06-19 15:19:03 +02:00