Projects

Simple-Web-Server

A C++ HTTP/HTTPS server/client fork with stricter server-side chunk framing.

  • cpp
  • networking
  • http
Source code

What it does

The upstream-gitlab branch includes a fix for parsing incoming chunked HTTP requests. The server decoder checks chunk size, extensions, and data framing before invoking the application handler. The correction is server-side. Non-empty trailer fields are rejected.

Recommended version

This branch includes the LimiNode corrections. The inherited upstream tags precede those changes.

Git
git clone --branch 'upstream-gitlab' --single-branch https://github.com/LimiNode/Simple-Web-Server.git

Documentation for this revision

Origin and LimiNode contributions

eidheim/Simple-Web-Server — Ole Christian Eidheim and contributors.

  • Validates chunk size, extensions, overflow and chunk-data CRLF.
  • Deterministic regressions for malformed framing and empty-trailer termination.

Compatibility

Based on the upstream-gitlab branch. Nonempty trailers are rejected; the client decoder is outside this correction.

Versions and license

Fork branch: upstream-gitlab. License: MIT.

Fork change history

Collaboration

Get in touch to discuss using or extending this project, or working on related research.

Discuss a project