Skip to content

A high performance, single threaded, HTTP/1.1 server written in C++ as a learning tool. Uses kqueue for event management, therefore is *BSD / macOS only!

License

Notifications You must be signed in to change notification settings

RamseyK/httpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Server

Ramsey Kant https://github.com/RamseyK/httpserver

A high performance, single threaded, HTTP/1.1 server written in C++ to serve as a kqueue socket management and HTTP/1.1 protocol learning tool on BSD systems

Features

  • Clean, documented code
  • Efficient socket management with kqueue
  • Easy to understand HTTP protocol parser (from my ByteBuffer project)
  • Tested on FreeBSD and macOS

Compiling

Usage


$ cat server.config 
vhost=10.0.10.86,acme.local
port=8080
diskpath=./htdocs

$ ./httpserver 
Primary port: 8080, disk path: ./htdocs
vhost: 10.0.10.86
vhost: acme.local
Server ready. Listening on port 8080...

License

See LICENSE.TXT

About

A high performance, single threaded, HTTP/1.1 server written in C++ as a learning tool. Uses kqueue for event management, therefore is *BSD / macOS only!

Topics

Resources

License

Stars

Watchers

Forks

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy