Commit graph

5 commits

Author SHA1 Message Date
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
c9ed7835c1
Move log setup functional
... to main file.

Fix:
 - HTTP handler:
   - Rename function __write_func into http handler file;
   - Change close connection functions to self.__close().
2024-10-05 17:27:06 +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