separate http parsing into separate function and integrate http_stuff

This commit is contained in:
Nayan
2025-05-07 18:39:31 -04:00
parent 9013039d79
commit d25b2d0656
2 changed files with 75 additions and 59 deletions

View File

@@ -5,8 +5,7 @@
#include <string.h>
#include <sys/types.h>
typedef struct http_request http_request;
typedef struct http_response http_response;
#include "http_stuff.h"
void handle_request(char* request, int length, char* response,
size_t* response_length);