Commit Graph

307 Commits

Author SHA1 Message Date
f0338209f5 Added magic file type detection 2020-12-19 22:09:03 +01:00
f6ac55adaf Added cache.c/.h 2020-12-19 17:38:56 +01:00
5e9c98d67f Added HEAD method 2020-12-19 17:13:03 +01:00
ba57509461 Bugfix for redirection 2020-12-19 13:17:30 +01:00
4e079e094f Bugfix location redirect 2020-12-19 13:06:51 +01:00
a4901f4c23 Changed port numbers 2020-12-19 13:03:32 +01:00
f5a42b8c28 Redirection on insecure connection 2020-12-19 13:03:03 +01:00
4f33e1d809 Changed abort goto 2020-12-18 23:08:28 +01:00
c7902ea5b5 Added dir mode in client 2020-12-18 22:39:18 +01:00
50f5438654 Proper url encoding for location field 2020-12-18 22:20:32 +01:00
a5c1516468 Added uri parsing 2020-12-18 22:06:41 +01:00
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