c-cube / tiny_httpd

Minimal HTTP server using good old threads + blocking IO, with a small request router.
https://c-cube.github.io/tiny_httpd
75 stars 11 forks source link

Refactor, modularize, add hmap to requests #81

Closed c-cube closed 6 months ago

c-cube commented 6 months ago

large scale refactoring with (wrapped true), moving a unix-free part into src/core as tiny_httpd.core, migrating to iostream as the core IO abstraction, adding a Hmap.t to requests so that middlewares can pass information to handlers.