acompiled

The catalog contains seeded project examples. Your workspace stores your own projects and conversations.

zeroeight/tiny-http

Public
Star9

An HTTP/1.0 server for Linux in x86-64 assembly. No libc; every build starts it and curls it.

Code
Blame·2 commits across 24 linesoldernewer
Answer every connection with 200 OKAug 14 1# Verified builds for tiny-http.
2
3[project]
4isa = "x86-64"
5assembler = "nasm"
6target = "Linux x86-64, static ELF"
7
8[[step]]
9name = "assemble"
10run = ["nasm", "-f", "elf64", "-o", "build/server.o", "src/server.asm"]
11
12[[step]]
13name = "link"
14run = ["ld.lld", "-o", "build/tiny-http", "build/server.o"]
15
17name = "serve real requests"
18on = "linux"
19run = ["sh", "test/smoke.sh"]
20expect = "smoke: 1 request answered"
21
23path = "build/tiny-http"
24max_size = 4096