Commit graph

22 commits

Author SHA1 Message Date
d83db35df0 Use strncpy() instead of strcpy().
The OpenBSD linker is complaining about it. Even though every single
case strcpy() was used is safe, strncpy() provides a little bit of extra
security, and makes the linker happy.
2023-04-25 21:54:51 +00:00
5289c16e2b Convert all code to new Stream API.
Also made a number of improvmements to tt, making it compatible with more
shells.
2023-03-18 14:32:09 +00:00
313f0e2e73 Add HttpClient API 2023-03-07 23:10:06 +00:00
8c96fd8d7d Begin the great StrDuplicate() refactor. 2023-02-23 23:19:23 +00:00
3c8d89a52e Update copyright year 2022-12-26 15:52:52 +00:00
e37e6f1bb8 Fix some memory bugs. 2022-12-14 18:19:20 +00:00
01a6d71101 Remove Constants.h 2022-11-30 18:30:39 +00:00
bbee9dcea6 Fix some more bugs. 2022-10-31 20:41:50 -04:00
ead65e7334 Fixed some misc bugs I found while debugging a memory error. 2022-10-31 11:07:32 -04:00
5ca5ec7dd4 Complete parameter parsing 2022-10-15 19:17:49 -04:00
52abd18324 First revision of param parsing 2022-10-15 18:54:34 -04:00
b645a0b2c1 Hook param parsing into the request logic. 2022-10-15 16:28:32 -04:00
8cb86e8f67 Use new Memory API for all memory allocations. 2022-10-13 12:18:42 -04:00
79fc20314f Format source code. 2022-10-10 13:14:52 -04:00
6b57fc45a2 Implement param encoding, clean up warnings in decoding function. 2022-10-03 13:40:29 -04:00
0ec976d1dd Fix HttpUrlDecode memory issue; write pathParts array 2022-09-28 14:45:45 -04:00
13763eb77b Format code 2022-09-14 17:15:39 -04:00
685b7c016d Start work on param parsing. 2022-09-08 21:09:47 -04:00
c607ba05a9 Implement URL encoding and decoding. 2022-09-06 20:48:27 -04:00
d7d960b77d Parse HTTP requests and invoke the request handler. 2022-08-28 14:30:15 -04:00
43c46fd45c Fix compile and runtime errors 2022-08-26 20:15:27 -04:00
1dc4261f6f Add Http.c 2022-08-26 11:11:15 -04:00