Looks like httpd_util:rfc1123_date/1 wants local time, not UTC time, as its time argument. The server_sent_events example uses that function to create the server date string events.
WebSocket clients can close their end of the connection, and RFC 6455 requires servers to handle that message appropriately. This change adds a new callback message for basic WebSocket callback modules. The server now also replies to client "close" messages with a "close" reply, as RFC 6455 requires. WebSockets documentation updated as well. Also included a message ordering fix from Jan Bothma.
git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@306 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52