Merged many of the changes from the first attempt at an HTML5 Websocket implementation. Focused on the ones that didn't change the behavior of the web server.

This commit is contained in:
wcrisman
2014-12-07 16:12:29 -08:00
parent 46df41d433
commit 2adcfad863
13 changed files with 525 additions and 4 deletions

View File

@@ -19,6 +19,8 @@ public interface IResponse {
public static final int ERROR_TYPE_RESOURCE_NOT_MODIFIED = 3;
/** Used to warn the user that their client did not use TLS + the domain extension, and the server cannot identify which certificate to use to allow them to connect. The user should upgrade their browser. */
public static final int ERROR_TYPE_TLS_FAILURE = 4;
/** Used to notify the client that the socket upgrade or protocol change failed or was rejected by the server. */
public static final int ERROR_UPGRADE_REJECTED = 5;
/**
* Gets the request this response is responding to.
* @return The request that created this response.