Commit Graph

446 Commits

Author SHA1 Message Date
db224c7452 Renamed http not strict 2020-12-16 18:44:43 +01:00
812d5ab384 Renamed http strict and not strict 2020-12-16 18:43:53 +01:00
1be4929c6c Refacotred graceful terminating 2020-12-16 18:38:23 +01:00
80ed6dea3e Added http header strict and not strict mode 2020-12-16 18:35:11 +01:00
14b4f71af7 Refactored html error document 2020-12-15 22:13:57 +01:00
a6789a7f3e Added favicon 2020-12-15 21:55:02 +01:00
7c2e3f2f9b Changed sleep time from 1 sec to 50 ms 2020-12-15 19:59:20 +01:00
93973c6e77 Refactored http default error document 2020-12-15 19:53:21 +01:00
97b04173ee Fixed typo in src/http.h 2020-12-13 21:00:18 +01:00
8002ab3ed7 Moved http.c and http.h from src/net to src 2020-12-13 20:55:27 +01:00
35b924eea5 Bugfix of error document 2020-12-13 20:33:46 +01:00
3dbe356b87 Bugfix of error document 2020-12-13 19:57:15 +01:00
84c3e87a08 Bugfix of error document 2020-12-13 19:29:55 +01:00
51531ff78e Updated http error document 2020-12-13 19:08:15 +01:00
e0ecc35d0c Refactored http header parsing error handling 2020-12-13 19:02:06 +01:00
c2de0ce439 Added http error messages 2020-12-13 18:50:08 +01:00
2bcfa97e1b Added url_encode and url_decode 2020-12-13 16:05:55 +01:00
7c5a57b3d8 Renamed webroot to webroot_base 2020-12-13 15:34:39 +01:00
99328996fa Using const char in http 2020-12-13 15:33:46 +01:00
8249b7ed89 Used strcpy 2020-12-13 15:17:56 +01:00
db94388e69 Added struct uri 2020-12-13 14:12:53 +01:00
a5919807a3 Restructured includes 2020-12-13 14:12:53 +01:00
cc53b43c8a Added uri.h and uri.c 2020-12-13 14:12:53 +01:00
1ea0c95ebb Improved argument parsing 2020-12-13 13:40:53 +01:00
9f3d8cc0c0 Added argument parsing 2020-12-13 13:05:49 +01:00
8b9b32b9af Refactored client.c 2020-12-12 22:09:42 +01:00
81b5a569db Fix in http_receive_request 2020-12-12 22:02:49 +01:00
dcdf91d5bf Refactored client.c 2020-12-12 21:47:15 +01:00
2d6277dc23 Implemented http responses 2020-12-12 21:41:21 +01:00
8335a20e32 Fixed keep alive 2020-12-12 17:53:19 +01:00
8ac29b3815 Fixing format_duration 2020-12-12 17:14:59 +01:00
687d918677 Parsing HTTP header 2020-12-12 17:13:36 +01:00
b4a4f12e9c Changed termination message 2020-12-12 16:06:04 +01:00
38448401d0 Updated format_duration 2020-12-12 15:31:26 +01:00
352742d26c Renamed timeout to client_timeout 2020-12-12 11:26:13 +01:00
e71786716e Updated sigterm handling 2020-12-11 23:51:23 +01:00
bce6f64c6e Refactored format_duration 2020-12-11 23:41:06 +01:00
43bf946cce Added Keep-Alive header 2020-12-11 23:19:36 +01:00
49f1a5f429 Added Client timeout 2020-12-11 23:16:30 +01:00
3ba1848e40 Updated makefile 2020-12-11 23:07:12 +01:00
f7fc4fa801 Http keep alive 2020-12-11 23:03:54 +01:00
e116b940b2 Set timeout for client 2020-12-11 20:34:12 +01:00
37f3e4eae1 client request handler 2020-12-11 20:28:48 +01:00
bbbde82a46 Removed BIOs 2020-12-11 17:08:26 +01:00
77852d9626 Added ready status message 2020-12-11 17:01:53 +01:00
13fb362d12 Implemented BIOs 2020-12-11 16:38:17 +01:00
0bf8c0ccc3 Implemented basic SSL 2020-12-11 16:25:26 +01:00
f98ffc7077 Child process management 2020-12-10 22:45:45 +01:00
e6760cf665 Process management 2020-12-10 22:24:06 +01:00
ae430c340c Updated Makefile 2020-12-10 21:46:30 +01:00