Dyang0 / HTTP-Server

Builds off a simple server implementation in C. I want to create a robust HTTP server, keeping security in mind.
0 stars 0 forks source link

HTTP-Server

Builds off a simple HTTP server implementation in C. The ultimate goal is to convert the HTTP server into a robust HTTPS server, keeping security in mind.

Problem Solving

Learning Objectives

*DISCLAIMER: This is a developing project so take the information with a grain of salt. The goal is to promote the learning experience rather than getting everything right at the start.

Helpful Commands

General

Git

Curl

gdb

Server Structure

image

image

This is the basic structure of my HTTP server. The server is run on a localhost using the port 8080 and curl is used to make requests to the server in order to get items in that server.

Future Items

Documentation

All Methods

Sorted Methods

Sketch 7-23-2024 839 PM

I have created a diagram to visualize what methods call others. This helps me see and understand the components of a client/server interaction.

Implementation

image

image

It is exciting that I can request items from my server through a web browser by using "http://localhost:[port number]/[item]"

Roadblocks

image

Helpful Resources