about summary refs log tree commit diff
path: root/main.py
AgeCommit message (Collapse)Author
2024-08-29Add 10 second timeoutUltraQbik
2024-08-28Fixed logging and added LOGGER_PATH into config.pyUltraQbik
2024-08-28Add log savingUltraQbik
Theoretically, it should work :)
2024-08-28Add proper loggingUltraQbik
Now any exception that is not related to sockets will be logged Threads should still clear themselves even after exception
2024-08-28Update error handlingUltraQbik
2024-08-28Separate functions and use non-blocking socketsUltraQbik
2024-08-27change brotli to gzipUltraQbik
2024-08-27Fix parser argsUltraQbik
2024-08-27Update parser x3UltraQbik
2024-08-27Update parser x2UltraQbik
2024-08-27Update parserUltraQbik
2024-08-27More parser + update loggerUltraQbik
2024-08-27Fix bug + addition of argparseUltraQbik
2024-08-27Bug fixUltraQbik
Fixed bug with file data stream fetching, as when file reach the end they return `b''` and not `None` Bug was causing threads to run forever, effectively completely halting the website from functioning
2024-08-27wut?UltraQbik
2024-08-27Add loggingUltraQbik
2024-08-27update thingy x3UltraQbik
2024-08-27update thingy x2UltraQbik
2024-08-27update thingyUltraQbik
2024-08-27update thingyUltraQbik
2024-08-27Update to work with new path mapUltraQbik
2024-08-27Add compressionUltraQbik
2024-08-26A bit of update to new path mappingUltraQbik
2024-08-26Reworking file fetchingUltraQbik
2024-08-26Add semaphoreUltraQbik
Use semaphore to limit core usage slightly (maybe) Also changed default configs a bit
2024-08-26Fix major issue with threading and potential bugsUltraQbik
Thread list was not cleared, so it was accumulating a ton of dead threads, now it should be fixed, as each thread removes itself at the end of request Added limit to how much data the client can send, as currently client data streams are unsupported Do minor renaming and allow to switch between HTTP and HTTPs
2024-08-26Update init_path_map functionUltraQbik
2024-08-25Add UTF-8 supportUltraQbik
Probably useful to have it
2024-08-25Add checksUltraQbik
2024-08-24Fix odd bugsUltraQbik
Odd because I don't know why I coded it that way
2024-08-24Don't compress what is already compressedUltraQbik
2024-08-24*Proceeds to ignore SSL EOF Error*UltraQbik
2024-08-24ignore ssl with EOF protocol violationUltraQbik
When a client decides to update a page a bunch of times, it sends this error to a server. There's nothing server can do about this
2024-08-24zlib and gzip don't seem to work normallyUltraQbik
2024-08-24Change client handlingUltraQbik
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-24More advanced path mappingUltraQbik
2024-08-24Add HTML minimizerUltraQbik
2024-08-24Update to data streamsUltraQbik
Instead of sending full files, and therefore storing them in ram (which is not always possible), send data in chunks of 64KiB
2024-08-23Delete old codeUltraQbik
2024-08-23remove timeoutUltraQbik
Removed timeout because it interrupts client's downloads
2024-08-23Update compression thingUltraQbik
2024-08-23Working website (I think)UltraQbik
2024-08-23Add request handler methodUltraQbik
2024-08-23Basic responses workingUltraQbik
2024-08-23Check received message length to prevent infinite loop in _recv_request methodUltraQbik
2024-08-23Add timeout to prevent client thread from running foreverUltraQbik
2024-08-23More graceful shutdownUltraQbik
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-23Add start methodUltraQbik
2024-08-23Add basic stuffUltraQbik
2024-08-23Change path map a bitUltraQbik