repo: update docs

This commit is contained in:
Kevin J. 2024-09-12 19:58:33 +02:00
parent 5dcc4c8bf7
commit f1e2efc9d2
2 changed files with 24 additions and 9 deletions

30
README
View File

@ -12,16 +12,30 @@
TECHNICALS TECHNICALS
Parsing is carried by a sub-library which I wrote named parslib. * Parsing is carried by a dedicated sub-library which I wrote named parslib.
* Mass string comparisons are carried by another dedicated sub-library which
I wrote named streecmp. It runs in O(n) time. n being the lenght of the string -
no matter the amount of strings you want to compare it against (I am indeed
aware it is nonetheless worse than hashtables - maybe one day I will implement
those on my own as well).
TODO TASKS
* Connect with parslib [DONE] Forward data between client/server
* Parse port out of Host header (default_value:80) [DONE] Connect with parslib
* Implement server message parsing [DONE] Implement client message parsing
* Verify and search for memory leaks [DONE] Implement server message parsing
* More testing, debugging, fixing [DONE] Add loose string checking for headers
* Implement HTTPS with OpenSSL [DOING] Cover all possible body segmentation standards
[DONE] Cover Content-Length
[DOING] Cover "chunked transfer encoding"
[DOING] Cover "compress transfer encoding"
[DOING] Cover "deflate transfer encoding"
[DOING] Cover "gzip/x-gzip transfer encoding"
[ACTIVELY DOING] More testing, debugging, fixing
[ACTIVELY DOING] Verify and search for memory leaks
[TODO] Implement HTTPS with OpenSSL, LibreSSL, or BearSSL
[TODO] Caching?
COMMITS COMMITS

View File

@ -22,8 +22,9 @@ struct conn {
int srvfd; int srvfd;
char *cltbuff; char *cltbuff;
int cltbuff_len;
char *srvbuff; char *srvbuff;
int cltbuff_len;
int srvbuff_len; int srvbuff_len;
struct httpareq cltreq; struct httpareq cltreq;