add null check http_parse

This commit is contained in:
2025-01-28 01:01:20 +01:00
parent 3da61ef47c
commit aebecfb4c2
3 changed files with 24 additions and 8 deletions

View File

@@ -1,12 +1,13 @@
# cws
A simple Web Server written in C (learning purposes), it works only on Linux systems.
A minimal web server written in C. This is a personal project; it is not intended to be a production-ready tool, nor
will it ever be. Use it at your own risk.
## Requirements
- [meson](https://mesonbuild.com/index.html)
- [doxygen](https://www.doxygen.nl/)
- Optional, just to build the docs
- Optional, just to build the docs.
## How to build
@@ -21,7 +22,8 @@ And then run `cws`!
## Docs
```bash
$ git submodule update --init # inside the cws directory
# inside the cws directory
$ git submodule update --init
$ doxygen
```
@@ -29,7 +31,7 @@ And then open the `docs/html/index.html`.
## Roadmap
- [x] Understading basic web server concepts
- [x] Understanding basic web server concepts
- [x] Basic server
- [ ] CLI args
- [ ] Enhance web server
@@ -47,5 +49,4 @@ And then open the `docs/html/index.html`.
- [Beej's Guide to Network Programming](https://beej.us/guide/bgnet/)
You can find my journey inside the `notes` directory or on
my [blog](https://francescorocca.me/building-an-http-server-in-c/).
You can find my journey inside the `notes` directory.