summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)Author
2024-12-15Implement LibHTTPC_readRequestNakidai
Not complete, though
2024-12-15Make LibHTTPC_dumpResponse accept NULL in bufNakidai
When LibHTTPC_dumpResponse accepts NULL it will allocate buffer itself using LibHTTPC_malloc
2024-12-15Add bound checking for LibHTTPC_loadRequestNakidai
I realized that you don't need to pass buf_len as buf is a c-string. Anyway, that is bound checking and it should work.
2024-12-09Add checks for LibHTTPC_loadRequestNakidai
From now function will return NULL if it couldn't find end
2024-11-30Fix strieqNakidai
Thanks @neirokan for helping with this
2024-11-29Add LibHTTPC_SOCK compile-time flagNakidai
2024-11-29Add some checksNakidai
2024-11-25Add LibHTTPC_writeResponseNakidai
2024-11-24Add LibHTTPC_freeNakidai
2024-11-24Fix typoNakidai
2024-11-24Make headers a usual arrayNakidai
2024-11-24Generate phrase based on response.statusNakidai
2024-11-24LibHTTPC_Status_OK instead of 200Nakidai
2024-11-24QoL thingsNakidai
- Make response.status be LibHTTPC_Status - Add defaults in LibHTTPC_dumpResponse
2024-11-24Fix header detectionNakidai
First byte of \r\n should be set to '\0' cuz cstrings hehe
2024-11-24Add codeNakidai