webserver.php
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!
Wed, 26 Mar 2008 11:10:20 -0400 Dan Added PHP feature check to prevent script from throwing unneeded exceptions on unsupported PHP configurations
Wed, 26 Mar 2008 10:24:20 -0400 Dan Backend improvement to webserver that causes interrupts to work properly; made pcntl_signal only be called if it's supported
Mon, 24 Mar 2008 02:53:42 -0400 Dan SECURITY: Fix ability to crash server in ajax.php; added playback position slider and ability to seek through current song
less more (0) -14 tip