346f01c9d9
Add for file iterator check access to file
...
- Rename function fileiter to file_iterator;
Fix:
- BrokenPipeError for thread;
- Log strings;
2024-10-09 14:31:57 +03:00
eabd85f68b
Support keep alive
...
Improvements:
- Response return Content-Length header;
- HTTP handler run recursive after call;
- File iterator when call before yield file size.
2024-10-08 13:54:15 +03:00
d356a80685
Add LICENSE file
2024-10-05 17:07:49 +03:00
440fe803d2
Split TCP socket server and HTTP handler.
...
- File reader function small improvent;
- Move MAX_REQUEST_LINE_SIZE to common server file.
2024-10-03 14:50:42 +03:00
a4f7411e10
Add more debug messages
...
- Move log initialization to config file;
- Add meta tag for charset to index file.
2024-07-03 14:06:19 +03:00
887e8da01b
Add functional to send static files
...
Add
- internal project file iterator function
- path function to locate user files (first allocate as static-files)
- primitive HTML page files for demonstrate server functional
Change
- Response class as iterator
- code for send response to client
2024-02-25 01:42:17 +03:00