Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-05-31 | fix: dynotify: check curl retuen so when failed it will not crash | Xiao Pan | |
Before when no internet, curl error "curl_easy_perform() failed: Couldn't resolve host name" will cause `json_tokener_parse(chunk.response)` to crash the program with error "Segmentation fault (core dumped)". I guess maybe because chunk.response is NULL because curl error not assign value to it. Now I check return error code of curl to break the loop and wait a minute to see if error gone and proceed forward. Maybe also check chunk.response and json function error code somehow. | |||
2024-05-28 | refactor | Xiao Pan | |
2024-05-28 | refactor: dynotify: less code | Xiao Pan | |
2024-05-28 | dynotify: comment | Xiao Pan | |
2024-05-28 | Revert "refactor: dynotify" | Xiao Pan | |
This reverts commit 70379c13e8d77d4e62c351df92a956b4cb3f2e5c. Because I like the old code that specify how large the string is. | |||
2024-05-28 | refactor: dynotify | Xiao Pan | |
2024-05-28 | fix: dynotify: memory leak | Xiao Pan | |
2024-05-28 | edit dynotify so maybe less RAM usage | Xiao Pan | |
2024-05-28 | add dynotify | Xiao Pan | |