From 22f0f0abda417afee5b4dbe26b606b11e3e73194 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sat, 14 Dec 2024 19:08:52 +0300 Subject: Add one more task Also replace plaintext TODO with one written in mdoc(7) --- TODO.7 | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 TODO.7 (limited to 'TODO.7') diff --git a/TODO.7 b/TODO.7 new file mode 100644 index 0000000..bfcb305 --- /dev/null +++ b/TODO.7 @@ -0,0 +1,45 @@ +.Dd December 14, 2024 +.Dt TODO 7 +.Os +. +.Sh NAME +.Nm TODO +.Nd some things +that I want to do +with this library +. +.Sh DESCRIPTION +.Bl -bullet +.It +Implement +.Fn LibHTTPC_readRequest . +It should be able to +parse requests +from +.Xr socket 2 +directly. +.It +Add bound-checking for +.Fn LibHTTPC_loadRequest . +This just needs +to add a +.Fa buf_len +parameter +and check +if function +is righter than +.Ql buf + buf_len . +.It +Make +.Fn LibHTTPC_dumpResponse +accept +.Dv NULL +in +.Fa buf . +In this way +function should +allocate buffer itself. +.El +. +.Sh AUTHORS +.An Nakidai Perumenei Aq Mt nakidai@disroot.org -- cgit 1.4.1