add old v0.4 code

This commit is contained in:
ading2210 2024-02-28 10:29:47 -08:00
parent 582bbd4ecd
commit 9205ae1507
14 changed files with 340 additions and 180 deletions

View file

@ -37,7 +37,7 @@ void close_websocket(CURL* http_handle) {
}
//clean up the http handle associated with the websocket, since the main loop can't do this automatically
void cleanup_websocket(CURL* http_handle) {
void cleanup_handle(CURL* http_handle) {
struct RequestInfo *request_info;
curl_easy_getinfo(http_handle, CURLINFO_PRIVATE, &request_info);