zig-io_uring-http-server icon indicating copy to clipboard operation
zig-io_uring-http-server copied to clipboard

zig-io_uring-http-server

Experiment writing a sort of working HTTP server using:

Requirements

  • Linux 5.11 minimum
  • Zig master
  • libcurl and its development files (libcurl-devel on Fedora, libcurl4-openssl-dev on Debian)

Building

Just run this:

zig build

The binary will be at zig-out/bin/httpserver.

Testing

Just run this:

zig build test

The test harness need libcurl installed to perform request on the HTTP server.