Commit Graph

40 Commits

Author SHA1 Message Date
Michael Jumper
4a0003b53d Fix jsdoc comments. 2013-09-02 17:41:25 -07:00
James Muehlner
3288dbf76f Ticket #314: Force POST requests to use UTF-8. 2013-07-09 19:11:24 -07:00
Michael Jumper
0b88c48038 Fix JSDoc. 2012-12-01 20:57:59 -08:00
Michael Jumper
d0c582b5e8 Add unique integer to end of request (fix #201). 2012-10-16 14:13:18 -07:00
Michael Jumper
21fb1e92bb Fix jsdoc, add missing documentation. 2012-08-11 12:52:30 -07:00
Michael Jumper
631ec6120e Change "Connection does not exist" to more user-friendly error. 2012-03-25 23:03:54 -07:00
Michael Jumper
3b7b8382a3 Add error for status code of 0. 2012-03-25 17:56:33 -07:00
Michael Jumper
b80ede52a4 Generic error messages from status codes. 2012-03-24 19:13:32 -07:00
Michael Jumper
e6249fbf5b Do not use X-Guacamole-Error-Message - use status code only. 2012-03-24 16:57:58 -07:00
Michael Jumper
fccfe52a19 In chained tunnel, clear handlers in old tunnel when new tunnel is taking over. 2012-03-19 15:11:05 -07:00
Michael Jumper
431d38d21f Properly handle errors on write as well as read. 2012-03-14 16:18:11 -07:00
Michael Jumper
b11445e8dd Errors thrown by connect() of a chained tunnel should be resent to onerror() if caught within ChainedTunnel.attach(). 2012-03-09 16:27:22 -08:00
Michael Jumper
10b192b677 Fixed comment on self reference. 2012-03-09 16:12:12 -08:00
Michael Jumper
0d95a5b5b8 JSDoc, remove useless onerror initialization. 2012-03-09 16:11:16 -08:00
Michael Jumper
2cff92ff1f Only chain to next tunnel if no instructions received. Pass through errors otherwise. 2012-03-09 16:00:23 -08:00
Michael Jumper
90876a47d6 Implement ChainedTunnel, which wraps an arbitrary list of tunnels, using each in order if a tunnel fails. 2012-03-09 15:53:54 -08:00
Michael Jumper
862ad8760a Implement tunnel onerror() for WebSocket. 2012-03-09 14:56:41 -08:00
Michael Jumper
52d3fa8748 Implemented WebSocketTunnel. 2012-03-09 12:27:16 -08:00
Michael Jumper
fded6d2873 Revert "Removing WebSocket tunnel for stable release. It will be back."
This reverts commit 31a7ce3912ebed5d6fee8b5d400b982b2e87cbfd.
2012-03-07 21:38:47 -08:00
Michael Jumper
902cef5db6 Must only check response if readyState >= 2. 2012-02-09 10:01:55 -08:00
Michael Jumper
ece9aa850e Fixes ticket #61 - adds catches where necessary to handle errors thrown only by IE. 2011-12-11 12:21:34 -08:00
Michael Jumper
e362394d10 Removing WebSocket tunnel for stable release. It will be back. 2011-12-10 14:31:47 -08:00
Michael Jumper
935088d9d4 Relicensed as Mozilla/LGPL/GPL. 2011-12-04 17:15:18 -08:00
Michael Jumper
49dd332ad9 Updated comments 2011-09-16 06:16:41 +00:00
Michael Jumper
f29a101537 Partial implementation of new format instructions in output. 2011-09-11 16:10:38 -07:00
Michael Jumper
5e92911073 Support for new instruction format. 2011-09-10 19:09:17 -07:00
Michael Jumper
970665f037 Automatically handle relative URLs. 2011-09-02 13:40:58 -07:00
Michael Jumper
b6246041dd Working initial implementation of websocket tunnel. 2011-09-01 15:39:02 -07:00
Michael Jumper
b5a81afe87 Fixed message generation logic. 2011-07-13 11:09:14 -07:00
Michael Jumper
b567591395 Client now handles tunnel errors. 2011-07-13 00:17:34 -07:00
Michael Jumper
0452f36f04 Tunnel JSDoc. 2011-07-10 20:49:38 -07:00
Michael Jumper
4b4f21e9ab More JSDoc and cleanup. 2011-07-09 09:12:06 -07:00
Michael Jumper
3e65c46204 JSDoc + namespace, some cleanup. 2011-07-05 22:13:45 -07:00
Michael Jumper
5815f79eef Migrating to traditional JS handlers. 2011-07-04 14:25:52 -07:00
Michael Jumper
0eb351e467 Error handling, added data submission for connect. 2011-04-08 22:41:31 -07:00
Michael Jumper
92d68a3987 Added support for multiple tunnels (tunnel UUID returned by connect). 2011-04-08 16:28:33 -07:00
Michael Jumper
87c1b4b1e4 Removed unnecessary (and often ignored) setting of Content-length header 2011-03-08 22:04:15 -08:00
Michael Jumper
aa0805595a Added missing semicolons, improved state handling 2011-03-08 21:42:43 -08:00
Michael Jumper
cfebdb2cf3 Added disconnect function to tunnel, added automatic disconnect on error receipt in client. 2011-03-08 21:08:59 -08:00
Michael Jumper
53755b8070 Extracted tunnel, mouse, and keyboard handling from GuacamoleClient 2011-03-02 16:01:03 -08:00