Initial commit

This commit is contained in:
2025-11-17 10:28:09 +01:00
parent 7bff81691f
commit 6ee36e26be
391 changed files with 110253 additions and 0 deletions

View File

@@ -0,0 +1,61 @@
#include "stdlib.h"
#include "headers.h"
#define BUFFER_SIZE 1024
class request{
char * connection = malloc( BUFFER_SIZE );
char * address = malloc( BUFFER_SIZE );
int port;
char * url = malloc( BUFFER_SIZE );
char * method = malloc( BUFFER_SIZE );
char * version = malloc( BUFFER_SIZE );
char * mimeType = malloc( BUFFER_SIZE );
char * extension = malloc( BUFFER_SIZE );
struct headerManager * headers = new headerManager();
void constructor() {
}
free() {
/*
free( this->connection );
free( this->address );
free( this->port );
free( this->url );
free( this->method );
free( this->version );
free( this->mimeType );
free( this->headers );
*/
free( this );
}
}