Skip to content

montybytes/web_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple web server written in C++

This is a C++ project where I try to make a web server for the fun of it, plus learn more about system level C++. It is a VERY barebones server so no fancy stuff like multithreading or compression...yet.

⚠️ If you come accross this, please do not use! This server uses HTTP so no encryption is in place! ⚠️

Current Objectives

  • Implement other error codes and general error handling

  • Implement unit tests

  • Implement basic logging

  • Implement sessions and cookies

  • Implement using a config file / cli arguments

  • Implement memory caching for small files

  • Implement simple authentication for REST requests

  • Try ensure the following security risks are minimized:

    • directory traversal attacks
    • file disclosure
    • input based injection attacks
    • buffer overflows

Interesting Objectives

  • Multithreading

  • Asynchronous processing

  • HTTPS support

  • Response compression for large responses

About

A http web server built in C++

Topics

Resources

Stars

Watchers

Forks