| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-08-24 | Change client handling | UltraQbik | |
| Previously _client_thread was checking for new data from client, which is very much useless, because the client will not send any data back twice. This commit removes the useless while loop that was there, as well as the thread that was started So currently, it's 1 thread per 1 request, which is how it should probably be | |||
| 2024-08-24 | More advanced path mapping | UltraQbik | |
| 2024-08-24 | Add HTML minimizer | UltraQbik | |
| 2024-08-24 | Update to data streams | UltraQbik | |
| Instead of sending full files, and therefore storing them in ram (which is not always possible), send data in chunks of 64KiB | |||
| 2024-08-23 | Delete old code | UltraQbik | |
| 2024-08-23 | remove timeout | UltraQbik | |
| Removed timeout because it interrupts client's downloads | |||
| 2024-08-23 | Update compression thing | UltraQbik | |
| 2024-08-23 | Working website (I think) | UltraQbik | |
| 2024-08-23 | Add request handler method | UltraQbik | |
| 2024-08-23 | Basic responses working | UltraQbik | |
| 2024-08-23 | Check received message length to prevent infinite loop in _recv_request method | UltraQbik | |
| 2024-08-23 | Add timeout to prevent client thread from running forever | UltraQbik | |
| 2024-08-23 | More graceful shutdown | UltraQbik | |
| There is a weird issue when a user tries to load a page, doesn't get a response (because that wasn't implemented yet), and when the webserver is attempted to be shutdown, it still tries to fetch user's request | |||
| 2024-08-23 | Add start method | UltraQbik | |
| 2024-08-23 | Add basic stuff | UltraQbik | |
| 2024-08-23 | Change path map a bit | UltraQbik | |
| 2024-08-23 | Ditch asyncio, threading actually works much better | UltraQbik | |
| Problem was that I wanted to do things actually in parallel, and wanted to launch a task but without blocking the thread, asyncio was for whatever reason blocking the thread which was causing issues when 1 user was downloading a file and trying to do something else on the page (like load a new page or something) Threading ACTUALLY does do exactly what I want via `threading.Thread(...).start()`, so that will be used going forward Also, it seems to 3x faster that way, because with asyncio the page took 1 sec to load, with threading it takes 280 ms, which is weird even if we are doing things one at a time | |||
| 2024-08-22 | es | UltraQbik | |
| 2024-08-22 | Tweak a thing | UltraQbik | |
| 2024-08-22 | Add Content-Length header | UltraQbik | |
| 2024-08-22 | Update things slightly | UltraQbik | |
| 2024-08-22 | Update path handling and API part | UltraQbik | |
| 2024-08-22 | API seems to work | UltraQbik | |
| 2024-08-22 | Massive refactoring addition of API | UltraQbik | |
| 2024-08-22 | Fix broken centering add testing page | UltraQbik | |
| 2024-08-22 | Add brotli as a better compression | UltraQbik | |
| 2024-08-22 | Add simple HTML minimizer for gooder compression | UltraQbik | |
| 2024-08-21 | change /about.html to /about cuz pretty | UltraQbik | |
| 2024-08-21 | Better code now closes gracefully (I hope) | UltraQbik | |
| 2024-08-21 | A bit more asynchronous code? | UltraQbik | |
| I have refactored some code and got rid of a few libraries Disabled logging as it's not very important at the time | |||
| 2024-08-21 | Carry Request class to a separate .py file | UltraQbik | |
| 2024-08-21 | Add simple response.html page | UltraQbik | |
| 2024-08-20 | Add gzip compression | UltraQbik | |
| Also changed 400 error to 404 error in get request handler removed json import (might be temporary) | |||
| 2024-08-20 | Update to use HTTPS instead of HTTP | UltraQbik | |
| That was very painful, but it does seem to work now with https using ssl standard library | |||
| 2024-08-20 | Add logging | UltraQbik | |
| 2024-08-20 | Add comments | UltraQbik | |
| 2024-08-20 | Exception handling (kind of) | UltraQbik | |
| 2024-08-20 | Return 400 response when path is incorrect | UltraQbik | |
| 2024-08-20 | Working website | UltraQbik | |
| 2024-08-20 | Get rid of htmlmin (use just gzip) | UltraQbik | |
| 2024-08-20 | Path mapping and get requests start | UltraQbik | |
| 2024-08-20 | Working message receiving | UltraQbik | |
| 2024-08-20 | Path length check | UltraQbik | |
| 2024-08-20 | Change file dislocation | UltraQbik | |
| 2024-08-19 | initial | UltraQbik | |