Commit Graph

28 Commits

Author SHA1 Message Date
72a6a745ff Remove socket fd from map after closing it 2019-06-27 21:40:28 +02:00
19b67484db Use epoll facilities 2019-06-27 21:38:32 +02:00
500f64e2f9 Mkdir -p bin folder 2019-06-27 18:11:23 +02:00
3a83f851c0 Make bin dir 2019-06-19 20:37:24 +02:00
b56e0f216e readme added 2019-06-19 20:31:25 +02:00
5536a01e3d Simplify test output 2019-06-19 20:09:40 +02:00
45e69b4db2 Bugfix: notfound middleware if statement 2019-06-19 20:07:39 +02:00
2901b164b7 Make makefile CC var optional 2019-06-19 20:04:03 +02:00
cbc45ca76a Print listening socket error code as well on bind failure 2019-06-19 20:03:47 +02:00
4592c77148 Bugfix: if statement notfound middleware 2019-06-19 20:03:34 +02:00
65eddb2b40 Use socket opt to prevent a lingering socket after program close 2019-06-19 19:50:47 +02:00
d8cfca8fc5 HEAD support 2019-06-19 19:20:10 +02:00
0004064a27 Break up test scripts 2019-06-19 19:05:12 +02:00
dd8e62bdab Integration test added 2019-06-16 21:33:03 +02:00
d00fc33197 Inject server configuration instead of using a singleton 2019-06-16 11:49:04 +02:00
e9509fb117 Reorganize socket classes 2019-06-16 11:42:26 +02:00
9ba225cbde Inject logger instead of using a singleton 2019-06-16 11:33:23 +02:00
14740e4a64 Catch runtime error writing to socket 2019-06-16 11:13:21 +02:00
9f5e4e2357 Added % todo comment in url parser function 2019-06-15 21:19:27 +02:00
132f17e0d5 NotFound middleware returns prettier error 2019-06-15 21:15:30 +02:00
9e99dc104f Put double dot check after path construction for extra safety 2019-06-15 21:10:01 +02:00
95636a2189 Bugfix: mime now expects a filepath string 2019-06-15 21:08:44 +02:00
1bda03a6f8 Refactor staticcontent class file validation 2019-06-15 21:04:14 +02:00
3970bd56c6 Remove unused code ranges 2019-06-15 20:53:06 +02:00
5f58b47fb9 Serializing should not affect object 2019-06-15 20:52:58 +02:00
71a7aa147c Use url parsing 2019-06-15 20:52:40 +02:00
22d5430e57 Set default www-root to a relative path 2019-06-15 12:09:02 +02:00
eda5d9df6b Initial commit 2019-06-15 12:00:21 +02:00