summaryrefslogtreecommitdiff
path: root/tests/latency.html
Commit message (Collapse)AuthorAgeFilesLines
* Use direct javascript in test filesPierre Ossman2019-07-031-39/+28
| | | | Avoid relying on our own modules as we are about to split things up.
* Don't delay flushingPierre Ossman2017-02-031-16/+2
| | | | | | The native WebSocket is in a much better position to do queue management than us. Many callers also failed to notice this part of the API, causing stalls.
* Update websock.js from noVNCPierre Ossman2017-02-031-5/+7
| | | | | | | Sync with noVNC as of commit ae510306b5094b55aa08a2a0d15a151704f70993. The main change is to make it a more proper object that you can instantiate multiple times.
* Remove last bits of Flash WebSocket emulationPierre Ossman2017-02-031-5/+0
| | | | We require native support from the browsers now.
* Remove Base64 supportPierre Ossman2017-02-011-1/+0
| | | | | This is an older protocol used before browsers got native support for Websockets.
* Fix latency test.Joel Martin2012-04-251-2/+2
| | | | For echo/latency tests default to current host:port or URL.
* Refactor and add IETF-07 protocol version support.Joel Martin2011-05-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | - Add initial IETF-07 (HyBi-07) protocol version support. This version still uses base64 encoding since the API for binary support is not yet finalized. - Move socket send and recieve functions into the WebSocketServer class instead of having the sub-class do this. This simplifies sub-classes somewhat. The send_frame routine now returns the number of frames that were unable to be sent. If this value is non-zero then the sub-class should call again when the socket is ready until the pending frames count is 0. - Do traffic reporting in the main class instead. - When the client is HyBi style (i.e. IETF-07) then use the sub-protocol header to select whether to do base64 encoding or simply send the frame data raw (binary). Update include/websock.js to send a 'base64' protocol selector. Once the API support binary, then the client will need to detect this and set the protocol to 'binary'.
* Use websock.js in latency test. Fixes for Opera.Joel Martin2011-01-231-50/+45
| | | | | | | | | | | Convert latency test to use include/websock.js instead of direct WebSockets handling. Add support for configuring the maximum bufferedAmount. This allows us to configure it high enough to get around a bug in bufferedAmount reporting in Opera. Add some latency test results for Opera 11 with WebSockets turned on.
* Add latency test and browser latency test results.Joel Martin2011-01-191-0/+295