Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services
In case of secure websocket communication, use a combination of gnutls_record_check_pending() and poll() to determine if data is ready.
I encountered cases where my client waited infinitely on poll which kept returning 0, while data could be read (and gnutls_record_check_pending correctly reported this).
In case of secure websocket communication, use a combination of gnutls_record_check_pending() and poll() to determine if data is ready.
I encountered cases where my client waited infinitely on poll which kept returning 0, while data could be read (and gnutls_record_check_pending correctly reported this).