-
Notifications
You must be signed in to change notification settings - Fork 0
raylu/seamless
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
httpd exercise: https://www.raylu.net/httpd.txt shell exercise: https://gist.github.com/raylu/5c6d570ae186f963ad2d if you've done both of the above and want to write a seamlessly reloading httpd, you've come to the right place! provided is seamless.py, a simple, non-concurrent webserver and tester.py, a multi-threaded http client that runs seamless.py and sends it SIGHUP edit seamless.py to handle SIGHUP and reload its own code via os.execl use socket.socket's fileno arg to make it seamless https://docs.python.org/3/library/socket.html#socket.socket if the tester runs without errors, you've either succeeded or cheated good luck!
About
a seamlessly reloading httpd exercise
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published