Close

Timeout and persistence

A project log for micro HTTP server in C

Connect your browser to your smart devices, using a minimalist HTTP compliant server written in POSIX/C

yann-guidon-ygdesYann Guidon / YGDES 03/31/2017 at 08:540 Comments

I have finally implemented the connection's persistence along with the timeout mechanism !

I'm also including the basic features of the HTTaP protocol, which I test using telnet:

The first request is the typical "GET /?" command, which returns the JSON-formatted list of features and informations. The format of this list will evolve quickly.

Any invalid or malformed request closes the connection, which happened when I hit "Enter" (resulting in nothing written on my side).

I still have to implement a lot of things !

Discussions