libks
libks copied to clipboard
Foundational support for signalwire C products
fix #204
This is another duplicated issue of https://github.com/signalwire/homebrew-signalwire/issues/21 **Root Cause** The POSIX `pthread_self` returns the `pthread_t`, which is a struct, not a `unsigned long int` alias. And `gettid()`, which return the...
Hi, when I'm trying to run cmake . to build my libks i get an error "CheckSymbolExists.c:(.text+0x1b): undefine reference to `pthread_create'". Can anyone tell me what should I change or...
Hi, **Expected Behaviour** Start with a clean environment, check out latest tagged version and build it **What happened** Didn't build, since the cmake system tried to read out some tag...
Adds methods for `ks_json_replace_item` and `ks_json_replace_value_string`, to allow overwriting values for a ks_json_t object and string, respectively. Defines `HAVE_KS_JSON_REPLACE_ITEM` symbol, to prevent conflicts in places where an existing / placeholder...
fix pint frame read too much data. and zero byte payload ping frame problem
Allow the user to disable tests through the standard `BUILD_TESTING` option: https://cmake.org/cmake/help/latest/module/CTest.html Signed-off-by: Fabrice Fontaine
Primarily updated to use non-deprecated OpenSSL types and functions when available. Also fixed a warning about `write(2)` reading too many bytes from the source buffer. Fixes #158 #169
Where the function kws_read_frame() read a ping frame which the frame length is 6(2 header and 4 payload) and followed with a text frame. Then the code below will make...