Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rawhttp

A custom HTTP/1.1 server built from raw TCP sockets in Go — without using net/http.

Goal

Understand HTTP at the protocol level by implementing:

  • TCP connection handling
  • HTTP request parsing
  • Response building
  • Routing
  • Static file serving
  • JSON API support

Run

go run ./cmd/server/main.go 9090

Test with:

curl http://localhost:9090/

Why

Built to learn networking fundamentals, not to replace production servers.

About

Custom HTTP/1.1 server built from raw TCP sockets in Go — no net/http. Learning networking fundamentals by implementing request parsing, routing, and response handling from scratch.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages