Commit Graph

84 Commits

Author SHA1 Message Date
333b6e5b29 Update LICENSE
Updated LICENSE for better understanding
2025-02-28 15:03:03 +01:00
72bd7a5c9a Update README.md 2025-02-25 15:36:25 +01:00
88ae0a58ec Update README.md 2025-02-25 15:35:36 +01:00
e0d79760cf Update README.md 2025-02-25 15:04:23 +01:00
3e1e953b5c Update index.html 2025-02-25 14:38:59 +01:00
9c6ae7f369 Update server.json
Edited https to false as default config
2025-02-25 13:22:27 +01:00
cf4a8784fc Update server.json
Edited path of log file
2025-02-25 13:21:05 +01:00
4aa7a4fef2 Update server.c
Fixed warnings while compiling with makefile
2025-02-25 13:09:57 +01:00
eece5f637a Update config_parser.c
Fixed warnings
2025-02-25 13:09:29 +01:00
11d28a297f Update server.c
feat: Major server enhancements and build system
- Implemented file caching system with LRU eviction
- Added thread pool for connection handling
- Improved MIME type detection and security headers
- Added rate limiting per IP address
- Enhanced logging system with rotation
- Added proper signal handling and graceful shutdown
- Implemented SSL/TLS support with modern cipher suites
- Added license (MIT) and disclaimer
- Fixed CSS/JS MIME type issues
- Optimized socket configuration
- Added sendfile() optimization
- Improved error handling and memory management

Technical changes:
- Set TCP_NODELAY and optimized socket buffers
- Implemented epoll-based async I/O
- Added file cache with 1MB max file size
- Set 100MB max log file size with rotation
- Added thread pool with 32 max threads
- Implemented rate limiting (100 requests/60s)
- Added proper MIME type detection
- Fixed CSP headers for external resources
- Added comprehensive input sanitization
- Improved SSL context configuration
- Added proper resource cleanup
2025-02-12 20:18:54 +01:00
fda76ba5da Update server.json
Added verbose
2025-02-12 20:14:48 +01:00
3facfcb4bb Update server_config.c
added verbose
2025-02-12 20:14:17 +01:00
8e3fa84239 Update server_config.h
Added verbose
2025-02-12 20:14:02 +01:00
deb378a112 Update config_parser.c 2025-02-12 20:13:22 +01:00
a0a2d191ce Add files via upload
Makefile
2025-02-12 20:13:05 +01:00
2fed379800 Add files via upload
License
2025-02-12 20:12:16 +01:00
77e1cbbd07 Update README.md
Changed compiling method with make
Updated and checked status of development
Added Prerequisites
Better understanding
2025-02-12 19:51:14 +01:00
921663a19c Update config_parser.c
Added server_name
2025-02-09 23:55:15 +01:00
1ae4f070b5 Update server_config.h
Added server_name for HTTPS
2025-02-09 23:54:40 +01:00
ce8a35e4c6 Update server.json
Added server_name for HTTPS
2025-02-09 23:54:14 +01:00
b2cd239141 Update README.md
Improved readme
2025-02-09 23:52:39 +01:00
3abb77876c Update server.c
Fixed minor bugs
Fixed logging system
Optimization 
Redirects to HTTPS when available
2025-02-09 23:51:56 +01:00
b8092ca1d0 Update server_config.h 2025-02-09 13:08:26 +01:00
803dfc8f0a Update server_config.c 2025-02-09 13:08:15 +01:00
2e10dadb34 Update server.c
Added support for basic HTTP and HTTP/s functionality 
Added support for Logging mechanism
Added SSL/TLS support
2025-02-09 13:07:46 +01:00
a578931364 Update README.md 2025-02-09 12:47:45 +01:00
9f17de3891 Update README.md 2025-02-08 23:38:34 +01:00
5eacc99c08 Update README.md 2025-02-08 23:34:37 +01:00
e48048ed8b Update README.md 2025-02-08 23:28:05 +01:00
0cf7548f68 Update README.md 2025-02-08 23:27:40 +01:00
22eeb943df Update README.md 2025-02-08 23:26:10 +01:00
4155b55032 Add files via upload 2025-02-08 22:59:48 +01:00
0b3303a173 Add files via upload 2025-02-08 22:58:48 +01:00
f1aad4fce2 Initial commit 2025-02-08 22:57:59 +01:00