webserver.php
Tue, 23 Sep 2008 23:24:13 -0400 Dan Replaced multithreading in WebServer with a full multithreading library that properly handles IPC and child management
Mon, 01 Sep 2008 16:50:03 -0400 Dan Added full cookie support to webserver
Mon, 01 Sep 2008 13:06:50 -0400 Dan Added artwork spriting support. Artwork is now displayed using a gigantic CSS sprite instead of hundreds of little images. GD required.
Sun, 24 Aug 2008 02:04:09 -0400 Dan Out with the old (commented out as it was) request reading code, please
Sun, 24 Aug 2008 01:28:52 -0400 Dan Major changes to webserver backend. All socket functions are abstracted to allow support for stream_* which seems to be both more widely supported and better at handling blocking and timeouts, at the cost of a small bit of speed. Keep-Alive times out properly and thanks to a bit of IPC code from stream_create_pair(), zombie children are mostly eliminated by proper pcntl_wait() being called when a child shuts down normally, and children die within 0.2sec if the parent receives a SIGTERM or SIGINT, even if the children are waiting on the socket.
Fri, 15 Aug 2008 23:49:00 -0400 Dan Merging changes from nighthawk; added support for dumb terminals
Fri, 15 Aug 2008 23:22:30 -0400 Dan Experimental: upon change to playlist, send SIGUSR1 to parent process and branch out to all children to force a playlist refresh
Wed, 06 Aug 2008 01:04:32 -0400 Dan Switched default theme to grey.
Tue, 05 Aug 2008 13:17:37 -0400 Dan Made error pages send length of response to get keep-alive working properly; added (nonworking, sorry) keep-alive timeout support.
Wed, 02 Jul 2008 11:57:13 -0400 Dan Added HttpSuccess exception which can be thrown when a scriptlet is done executing normally
Tue, 01 Jul 2008 04:17:46 -0400 Dan Added support for multipart forms, file uploads, and fatal exceptions in PhpHttpd; fixed wrong license tag on WebServer class
Mon, 30 Jun 2008 12:36:13 -0400 Dan Made the webserver a bit smarter. It handles running as root properly (only allows it if user/group specified and port < 1024) and directory listing is massively smarter.
Sat, 12 Apr 2008 09:26:01 -0400 Dan Re-enabled multi-threaded operation after trying with a field test
Wed, 02 Apr 2008 01:36:53 -0400 Dan Disabled forking/keep-alive code, firefox doesn't seem to like the way it waits for requests
Wed, 02 Apr 2008 00:23:51 -0400 Dan Added multi-threading/forking/keep-alive support to webserver. w00t, feeling all POSIX-happy today!
less more (0) -15 tip