https://github.com/gustavomtg/p_http_server
C project for implementing an HTTP server based on the RFC2616 for HTTP 1.1
https://github.com/gustavomtg/p_http_server
c linux networking-stack
Last synced: 11 months ago
JSON representation
C project for implementing an HTTP server based on the RFC2616 for HTTP 1.1
- Host: GitHub
- URL: https://github.com/gustavomtg/p_http_server
- Owner: gustavoMTG
- Created: 2025-04-24T09:36:11.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-04-29T22:26:54.000Z (11 months ago)
- Last Synced: 2025-04-29T23:28:43.450Z (11 months ago)
- Topics: c, linux, networking-stack
- Language: C
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# p_http_server
C project for implementing an HTTP server based on the RFC2616 for HTTP 1.1.
## Building
Just clone the project and run the make command on the root folder.
```bash
$ git clone https://github.com/gustavoMTG/p_http_server.git
$ cd p_http_server
$ make
```
This will output a p_http_server executable file.
## Usage
```bash
$ ./p_http_server
```
Where **verbosity** can be 0 for **DEBUG** level output or 1 for **INFO** level output.
The server will listen all network interfaces, if port is not provided will default to port 8080 for incomming TCP connections.
## State of development
The server currently supports **GET** and **HEAD** methods although these are still under development.
Static files serving, no dynamic content yet.