]> git.proxmox.com Git - mirror_novnc.git/log
mirror_novnc.git
14 years agoRemove invalid pos check from web-socket-js.
Joel Martin [Thu, 24 Jun 2010 22:01:58 +0000 (17:01 -0500)]
Remove invalid pos check from web-socket-js.

14 years agoMissed change web-socket-js to dd80a1807758abfab4a0fde840f94c5d649e4a24.
Joel Martin [Thu, 24 Jun 2010 22:00:41 +0000 (17:00 -0500)]
Missed change web-socket-js to dd80a1807758abfab4a0fde840f94c5d649e4a24.

14 years agoAdd web-socket-js debug flag and default to off.
Joel Martin [Thu, 24 Jun 2010 21:59:53 +0000 (16:59 -0500)]
Add web-socket-js debug flag and default to off.

14 years agoSquelch MD5.as build warnings.
Joel Martin [Thu, 24 Jun 2010 21:58:24 +0000 (16:58 -0500)]
Squelch MD5.as build warnings.

14 years agoTODO: Test IE 9 preview 3.
Joel Martin [Thu, 24 Jun 2010 17:55:26 +0000 (12:55 -0500)]
TODO: Test IE 9 preview 3.

14 years agoUpdate gimite/web-socket-js to dd80a1807758abfab4a0fde840f94c5d649e4a24
Joel Martin [Thu, 24 Jun 2010 17:42:34 +0000 (12:42 -0500)]
Update gimite/web-socket-js to dd80a1807758abfab4a0fde840f94c5d649e4a24

14 years agoTODO: already got Arora 0.5 working.
Joel Martin [Thu, 24 Jun 2010 16:19:19 +0000 (11:19 -0500)]
TODO: already got Arora 0.5 working.

14 years agoTODO (WebSockets version 76) and Opera/Arora.
Joel Martin [Thu, 24 Jun 2010 16:12:49 +0000 (11:12 -0500)]
TODO (WebSockets version 76) and Opera/Arora.

14 years agoAdd proxy functionality description.
Joel Martin [Thu, 24 Jun 2010 15:50:36 +0000 (10:50 -0500)]
Add proxy functionality description.

14 years agoVarious cross-browser fixes.
Joel Martin [Wed, 23 Jun 2010 21:08:36 +0000 (16:08 -0500)]
Various cross-browser fixes.

Now working under Arora 0.5.

But not Konqueror 4.2.2 (WebSockets never connects).

IE support with excanvas still pending.

14 years agoFix browser detection code in IE.
Joel Martin [Mon, 21 Jun 2010 21:30:32 +0000 (16:30 -0500)]
Fix browser detection code in IE.

14 years agoUpdate README.md with browser support.
Joel Martin [Mon, 21 Jun 2010 18:20:57 +0000 (13:20 -0500)]
Update README.md with browser support.

14 years agoBetter support console debug under Opera (DragonFly).
Joel Martin [Sun, 20 Jun 2010 20:10:34 +0000 (15:10 -0500)]
Better support console debug under Opera (DragonFly).

14 years agoTimeout connection.
Joel Martin [Fri, 18 Jun 2010 20:18:41 +0000 (15:18 -0500)]
Timeout connection.

14 years agoUpdate usage and README.md.
Joel Martin [Thu, 17 Jun 2010 22:50:15 +0000 (17:50 -0500)]
Update usage and README.md.

14 years agoMore arg processing fixes.
Joel Martin [Thu, 17 Jun 2010 22:24:54 +0000 (17:24 -0500)]
More arg processing fixes.

14 years agoArgument processing fixes. Misc proxy fixes.
Joel Martin [Thu, 17 Jun 2010 22:05:33 +0000 (17:05 -0500)]
Argument processing fixes. Misc proxy fixes.

14 years agoAdd daemonization support to wsproxy.*.
Joel Martin [Thu, 17 Jun 2010 21:06:18 +0000 (16:06 -0500)]
Add daemonization support to wsproxy.*.

Refactor how settings are passed around.

14 years agoUpdate TODO.
Joel Martin [Thu, 17 Jun 2010 14:31:13 +0000 (09:31 -0500)]
Update TODO.

14 years agoForce SSL option to proxies. Use getopt_long.
Joel Martin [Wed, 16 Jun 2010 18:58:00 +0000 (13:58 -0500)]
Force SSL option to proxies. Use getopt_long.

14 years agoUpdate TODO.
Joel Martin [Wed, 16 Jun 2010 18:57:10 +0000 (13:57 -0500)]
Update TODO.

14 years agoBetter C proxy host resolution.
Joel Martin [Wed, 16 Jun 2010 18:11:07 +0000 (13:11 -0500)]
Better C proxy host resolution.

Use getaddrinfo instead of gethostbyname.

14 years agoAdd listen address to proxy (C and python).
Joel Martin [Wed, 16 Jun 2010 17:37:03 +0000 (12:37 -0500)]
Add listen address to proxy (C and python).

This allows forwarding from an external port to the same port on
localhost (loopback). I.e.

./utils/wsproxy `hostname -f`:5901 localhost:5901

14 years agoRemove debug sendCtrlC function.
Joel Martin [Wed, 16 Jun 2010 14:48:49 +0000 (09:48 -0500)]
Remove debug sendCtrlC function.

14 years agoDisabled ctrlAltDel button when N/A.
Joel Martin [Tue, 15 Jun 2010 22:56:38 +0000 (17:56 -0500)]
Disabled ctrlAltDel button when N/A.

14 years agoAdd CtrlAltDel send button to status bar.
Joel Martin [Tue, 15 Jun 2010 22:47:01 +0000 (17:47 -0500)]
Add CtrlAltDel send button to status bar.

Some default_controls.js jslinting.

Needs to be some modularity between controls you probably always want
(like sending CtrlAltDel) and how the interface is presented and
controlled.

14 years agoNo mootools dep outside of default_controls.js.
Joel Martin [Tue, 15 Jun 2010 20:21:41 +0000 (15:21 -0500)]
No mootools dep outside of default_controls.js.

Some basic functions from mootools implemented in util.js.

Also, some more DOM separation. Move clipboard focus logic into
default_controls and canvas and out of vnc.js.

JSLint cleanup.

14 years agoAdd mouse position routines to util.js.
Joel Martin [Tue, 15 Jun 2010 16:10:18 +0000 (11:10 -0500)]
Add mouse position routines to util.js.

On path towards removing dependency on mootools in non-UI code.

14 years agoMove DOM event handling from vnc.js to canvas.js.
Joel Martin [Tue, 15 Jun 2010 14:36:23 +0000 (09:36 -0500)]
Move DOM event handling from vnc.js to canvas.js.

14 years agoMove vnc.js into include directory.
Joel Martin [Mon, 14 Jun 2010 19:56:19 +0000 (14:56 -0500)]
Move vnc.js into include directory.

Also, allow 'include/' to be overridden in VNC_uri_prefix.

14 years agoAdd summary timing info on disconnect.
Joel Martin [Mon, 14 Jun 2010 19:43:21 +0000 (14:43 -0500)]
Add summary timing info on disconnect.

Also, move Frame Buffer Update code out of normal_msg into separate
function.

14 years agoLess debug output.
Joel Martin [Mon, 14 Jun 2010 19:42:34 +0000 (14:42 -0500)]
Less debug output.

14 years agoMove cert gen to Usage section of README.md.
Joel Martin [Mon, 14 Jun 2010 19:34:05 +0000 (14:34 -0500)]
Move cert gen to Usage section of README.md.

14 years agoRender PNG images in order. Update TODO.
Joel Martin [Sun, 13 Jun 2010 16:00:12 +0000 (11:00 -0500)]
Render PNG images in order. Update TODO.

14 years agoFix mouse focus issues.
Joel Martin [Sun, 13 Jun 2010 15:57:23 +0000 (10:57 -0500)]
Fix mouse focus issues.

14 years agoFix scrolled mouse position.
Joel Martin [Thu, 10 Jun 2010 21:05:15 +0000 (16:05 -0500)]
Fix scrolled mouse position.

14 years agoDesktopResize and compression level pseudo-encodings.
Joel Martin [Thu, 10 Jun 2010 20:44:42 +0000 (15:44 -0500)]
DesktopResize and compression level pseudo-encodings.

- Implement resizing of desktop pseudo-encoding.

- Also send lowest (fastest) compression level pseudo-encoding.
  Ought be user tweakable.

14 years agoMore dynamic encoding list handling.
Joel Martin [Thu, 10 Jun 2010 17:11:13 +0000 (12:11 -0500)]
More dynamic encoding list handling.

14 years agobase64 encode instead of escaping images.
Joel Martin [Wed, 9 Jun 2010 22:50:06 +0000 (17:50 -0500)]
base64 encode instead of escaping images.

14 years agoAlmost double firefox tight_png render performance.
Joel Martin [Wed, 9 Jun 2010 20:40:46 +0000 (15:40 -0500)]
Almost double firefox tight_png render performance.

When extracting the data URI info, much more efficient in firefox to
iterate and push onto an array, then to generate the whole array at
once using the map function.

Chrome is mostly unaffected by this change (might be slightly better).

14 years agoTIGHT_PNG encoding and timing refactor.
Joel Martin [Wed, 9 Jun 2010 20:00:32 +0000 (15:00 -0500)]
TIGHT_PNG encoding and timing refactor.

Also, generate encodings array to send from a list of encodings
instead of being hardcoded generator function.

14 years agoupdate failed state on WS onerror.
Joel Martin [Tue, 8 Jun 2010 16:20:03 +0000 (11:20 -0500)]
update failed state on WS onerror.

Also, slightly faster non-base64 (UTF-8) decode.

14 years agoOutput count for multi-packet decodes.
Joel Martin [Mon, 7 Jun 2010 19:36:26 +0000 (14:36 -0500)]
Output count for multi-packet decodes.

14 years agoAdd UTF-8 wire encoding support to C wsproxy.
Joel Martin [Mon, 7 Jun 2010 18:47:44 +0000 (13:47 -0500)]
Add UTF-8 wire encoding support to C wsproxy.

14 years agoMove wsproxy and web utils into utils/ subdir.
Joel Martin [Mon, 7 Jun 2010 17:47:02 +0000 (12:47 -0500)]
Move wsproxy and web utils into utils/ subdir.

14 years agoC wsproxy: seq numbers and decode multiple frames.
Joel Martin [Mon, 7 Jun 2010 17:44:02 +0000 (12:44 -0500)]
C wsproxy: seq numbers and decode multiple frames.

14 years agoFirst pass at working C wsproxy.
Joel Martin [Fri, 4 Jun 2010 22:10:06 +0000 (17:10 -0500)]
First pass at working C wsproxy.

No sequence numbering and only support b64encoding at the moment.

14 years agoGive better exception feedback in message handler.
Joel Martin [Fri, 4 Jun 2010 18:51:21 +0000 (13:51 -0500)]
Give better exception feedback in message handler.

14 years agoAdd 'tight' encoding to TODO list. Add rfb proto link.
Joel Martin [Thu, 3 Jun 2010 21:11:21 +0000 (16:11 -0500)]
Add 'tight' encoding to TODO list. Add rfb proto link.

14 years agoFix Alt keysym.
Joel Martin [Thu, 3 Jun 2010 14:28:44 +0000 (09:28 -0500)]
Fix Alt keysym.

From kevinychan/vnc-html5 ebfffdc36.

14 years agoClarify examples.
Joel Martin [Thu, 3 Jun 2010 13:39:42 +0000 (08:39 -0500)]
Clarify examples.

14 years agoExplain VNC_uri_prefix in README.md.
Joel Martin [Wed, 2 Jun 2010 22:28:28 +0000 (17:28 -0500)]
Explain VNC_uri_prefix in README.md.

14 years agoUpdate README.md to reflect separate default controls file.
Joel Martin [Wed, 2 Jun 2010 22:18:46 +0000 (17:18 -0500)]
Update README.md to reflect separate default controls file.

14 years agoDirect example. Move all DOM code default_controls.js.
Joel Martin [Wed, 2 Jun 2010 22:08:25 +0000 (17:08 -0500)]
Direct example. Move all DOM code default_controls.js.

Move DOM manipulation into include/default_controls.js and update
vnc.html to use it.

Add an example vnc_auto.html which automatically connects using
parameters from the query string and doesn't use default_controls.js.

Reorder functions in vnc.js to put external interface functions at the
top of the RFB namespace.

14 years agoAdd --record option to wsproxy.py.
Joel Martin [Tue, 1 Jun 2010 22:58:14 +0000 (17:58 -0500)]
Add --record option to wsproxy.py.

14 years agoAdd colour map support (non-true-color).
Joel Martin [Tue, 1 Jun 2010 19:34:27 +0000 (14:34 -0500)]
Add colour map support (non-true-color).

In colourMap mode there are 256 colours in a colour palette sent from
the server via the SetColourMapEntries message. This reduces the
bandwidth by about 1/4. However, appearance can be somewhat less than
ideal (pinks instead of gray, etc).

It also increases client side rendering performance especially on
firefox. Rendering a full 800x600 update takes about 950ms in
firefox on my system compared to about 1400ms. Round-trip time for
a full frame buffer update is even better on firefox (due to
performance of the flash WebSocket emulator). Reduced from about
1800ms to 1100ms on firefox (for 800x600 full update).

14 years agoTest non-base64 (straight UTF-8) encoding.
Joel Martin [Fri, 28 May 2010 20:39:38 +0000 (15:39 -0500)]
Test non-base64 (straight UTF-8) encoding.

Also add a wsencoding test client/server program to test send a set of
values between client and server and vice-versa to test encodings.

Not turned on by default.

Add support for encode/decode of UTF-8 in the proxy. This leverages
the browser for decoding the WebSocket stream directly instead of
doing base64 decode in the browser itself.

Unfortunately, in Chrome this has negligible impact (round-trip time
is increased slightly likely due to extra python processing).

In firefox, due to the use of the flash WebSocket emulator the
performance is even worse. This is because it's really annoying to get
the flash WebSocket emulator to properly decode a UTF-8 bytestream.
The problem is that the readUTFBytes and readMultiByte methods of an
ActionScript ByteArray don't treat 0x00 correctly. They return
a string that ends at the first 0x00, but the index into the ByteArray
has been advanced by however much you requested.

This is very silly for two reasons: ActionScript (and Javascript)
strings can contain 0x00 (they are not null terminated) and second,
UTF-8 can legitimately contain 0x00 values. Since UTF-8 is not
constant width there isn't a great way to determine if those methods
in fact did encounter a 0x00 or they just read the number of bytes
requested.

Doing manual decoding using readUTFByte one character at a time slows
things down quite a bit. And to top it all off, those methods don't
support the alternate UTF-8 encoding for 0x00 ("\xc0\x80"). They also
just treat that encoding as the end of string too.

So to get around this, for now I'm encoding zero as 256 ("\xc4\x80")
and then doing mod 256 in Javascript. Still doesn't result in much
benefit in firefox.

But, it's an interesting approach that could use some more exploration
so I'm leaving in the code in both places.

14 years agoRound-trip timing for first full FBU.
Joel Martin [Fri, 28 May 2010 20:29:36 +0000 (15:29 -0500)]
Round-trip timing for first full FBU.

14 years agoFix web-socket-js: encode sent data across FABridge.
Joel Martin [Fri, 28 May 2010 19:10:57 +0000 (14:10 -0500)]
Fix web-socket-js: encode sent data across FABridge.

14 years agoChange license to LGPL-3 and add some implementation notes.
Joel Martin [Wed, 26 May 2010 20:43:00 +0000 (15:43 -0500)]
Change license to LGPL-3 and add some implementation notes.

The purpose of the code is to be incorporated into other web projects
(whether those are free or not). AGPL prevents combination with other
HTML and javascript that is under a weaker (or proprietary) license.
Better would be a lesser AGPL, but there is not GNU standard for that.
So LGPL-3 meets most of my requirements. If somebody modifies the
actual client code and conveys it, then they must release the changes
under LGPL-3 also.

Add some implementation notes in docs/notes.

14 years agoUse relative include path in tests.
Joel Martin [Tue, 25 May 2010 16:09:34 +0000 (11:09 -0500)]
Use relative include path in tests.

14 years agoAdd mouse wheel support and input test page.
Joel Martin [Tue, 25 May 2010 16:05:55 +0000 (11:05 -0500)]
Add mouse wheel support and input test page.

14 years agoDon't shift off subencoding in hextile.
Joel Martin [Thu, 20 May 2010 22:13:59 +0000 (17:13 -0500)]
Don't shift off subencoding in hextile.

14 years agoFix web-socket-js loading issue.
Joel Martin [Mon, 17 May 2010 22:11:13 +0000 (17:11 -0500)]
Fix web-socket-js loading issue.

14 years agoDouble Chrome hextile perf again. Add canvas test.
Joel Martin [Mon, 17 May 2010 15:18:37 +0000 (10:18 -0500)]
Double Chrome hextile perf again. Add canvas test.

- By dereferencing the 'data' field of the imageData object before the
  loop, the hextile performance on Chrome is down to 140ms or so for
  a full 800x600 update. Still have to fall back to Canvas operations
  for firefox.

- Fix RQ empty after reorder bug.

14 years agoAdd styling classes for status line state.
Joel Martin [Mon, 17 May 2010 00:58:51 +0000 (19:58 -0500)]
Add styling classes for status line state.

14 years agoAdd back canvas.html test page to tests subdir.
Joel Martin [Mon, 17 May 2010 00:23:44 +0000 (19:23 -0500)]
Add back canvas.html test page to tests subdir.

14 years agoCreate FABridge tester. Move wstest into tests subdir.
Joel Martin [Mon, 17 May 2010 00:21:21 +0000 (19:21 -0500)]
Create FABridge tester. Move wstest into tests subdir.

14 years agoChange wstest.html 'cnt' to 'seq'.
Joel Martin [Sun, 16 May 2010 22:51:00 +0000 (17:51 -0500)]
Change wstest.html 'cnt' to 'seq'.

14 years agoMove canvas.js to include/canvas.js.
Joel Martin [Sat, 15 May 2010 20:45:09 +0000 (15:45 -0500)]
Move canvas.js to include/canvas.js.

14 years agoSupport 3.7.
Joel Martin [Sat, 15 May 2010 20:25:10 +0000 (15:25 -0500)]
Support 3.7.

14 years agoMove vars into RFB namespace. Extend array in util.js.
Joel Martin [Sat, 15 May 2010 19:55:33 +0000 (14:55 -0500)]
Move vars into RFB namespace. Extend array in util.js.

14 years agoJSLint and "use strict".
Joel Martin [Sat, 15 May 2010 19:28:55 +0000 (14:28 -0500)]
JSLint and "use strict".

14 years agoCleanup output, trap exceptions, timing output, fixes.
Joel Martin [Sat, 15 May 2010 17:38:50 +0000 (12:38 -0500)]
Cleanup output, trap exceptions, timing output, fixes.

Fixes:
- Make sure that failed state messages stay around until next connect.
- Get status message font colors working.
- Clear RQ_reorder list on re-connect.

14 years agoDouble hextile rendering performance in Chrome.
Joel Martin [Sat, 15 May 2010 17:27:44 +0000 (12:27 -0500)]
Double hextile rendering performance in Chrome.

- For webkit engines, do array manipulation for each tile subrectangle
  and only use the array for putImageData after rendering is finished.

In Chrome 5.0.375.29 beta, the time to render a full 800x600 hextile
image dropped from 500ms to 250ms or so. Firefox 3.5.3 rendering of
a full 800x600 hextile image is about 2300ms.

14 years agoReset client_settings on connect.
Joel Martin [Sat, 15 May 2010 17:14:30 +0000 (12:14 -0500)]
Reset client_settings on connect.

- Otherwise client_setting carry over from other connections.

14 years agoRename HTML5-VNC to noVNC.
Joel Martin [Wed, 12 May 2010 14:39:38 +0000 (09:39 -0500)]
Rename HTML5-VNC to noVNC.

14 years agoMark include/plain.css as code.
Joel Martin [Tue, 11 May 2010 22:04:07 +0000 (15:04 -0700)]
Mark include/plain.css as code.

14 years agoAdd some links to related project sites.
Joel Martin [Tue, 11 May 2010 22:00:42 +0000 (17:00 -0500)]
Add some links to related project sites.

14 years agoPull and modify stylesheet from kevinykchan/vnc-html5.
Joel Martin [Tue, 11 May 2010 21:58:36 +0000 (16:58 -0500)]
Pull and modify stylesheet from kevinykchan/vnc-html5.

Pull and modify vnc.css version
b747e284c0e417df1599b1d95724518b07be8df6 to include/black.css

14 years agoIsolate DOM references in load() and connect().
Joel Martin [Tue, 11 May 2010 21:39:17 +0000 (16:39 -0500)]
Isolate DOM references in load() and connect().

- Other misc cleanups.

14 years agoStyling/integration refactoring.
Joel Martin [Tue, 11 May 2010 21:13:52 +0000 (16:13 -0500)]
Styling/integration refactoring.

- Instead of onload override, move to RFB.load function that takes
  a parameter for the target DOM ID. This allows the user to have
  their own onload function.

- Add "VNC_" prefix to all element ID names. Only create DOM elements
  if they don't already exist on the page, otherwise use the existing
  elements.

- Move all styling to separate stylesheet.

- Use list model for control styling.

14 years agoAdd and clarify licensing.
Joel Martin [Tue, 11 May 2010 15:01:21 +0000 (10:01 -0500)]
Add and clarify licensing.

14 years agoFix wsproxy CPU usage without affecting latency.
Joel Martin [Tue, 11 May 2010 14:25:29 +0000 (09:25 -0500)]
Fix wsproxy CPU usage without affecting latency.

Instead of selecting on everything every time, only select the writers
that we have items queued for. Most of the time the writers are ready
so if we select on them even when we don't have anything to send we
will fall into a tight loop.

14 years agoMerge branch 'merge_kevinykchan'
Joel Martin [Tue, 11 May 2010 14:23:55 +0000 (09:23 -0500)]
Merge branch 'merge_kevinykchan'

Conflicts:
wsproxy.py

Fix auth mode selection typo.

14 years agoAddresses issue where wsproxy utilizes 100% CPU. The process now rarely goes over 2%
Kevin Chan [Mon, 10 May 2010 20:45:46 +0000 (04:45 +0800)]
Addresses issue where wsproxy utilizes 100% CPU. The process now rarely goes over 2%

14 years agoIf no password is provided, defaults to use no auth
Kevin Chan [Mon, 10 May 2010 20:55:47 +0000 (04:55 +0800)]
If no password is provided, defaults to use no auth

14 years agoMove controls to vnc.js, make vnc.html very simple.
Joel Martin [Thu, 6 May 2010 22:08:53 +0000 (17:08 -0500)]
Move controls to vnc.js, make vnc.html very simple.

14 years agoIgnore python bytecode files.
Joel Martin [Thu, 6 May 2010 15:57:16 +0000 (10:57 -0500)]
Ignore python bytecode files.

14 years agoFix same for server side (no expected count complaint).
Joel Martin [Thu, 6 May 2010 15:54:36 +0000 (10:54 -0500)]
Fix same for server side (no expected count complaint).

14 years agoDon't complain about expected count on stop.
Joel Martin [Thu, 6 May 2010 15:53:09 +0000 (10:53 -0500)]
Don't complain about expected count on stop.

14 years agoEncryption suppport for wstest.
Joel Martin [Thu, 6 May 2010 15:52:04 +0000 (10:52 -0500)]
Encryption suppport for wstest.

14 years agowebsocket.py: generic code from wsproxy and wstest.
Joel Martin [Thu, 6 May 2010 15:32:07 +0000 (10:32 -0500)]
websocket.py: generic code from wsproxy and wstest.

14 years agoDES that works with KVM's VNC. RFB 3.8 fixes.
Joel Martin [Wed, 5 May 2010 20:40:05 +0000 (15:40 -0500)]
DES that works with KVM's VNC. RFB 3.8 fixes.

14 years agoSupport for RFB 3.8 handshake.
Joel Martin [Sun, 2 May 2010 19:19:13 +0000 (14:19 -0500)]
Support for RFB 3.8 handshake.

14 years agoCleanup. Move note files into docs/.
Joel Martin [Sat, 1 May 2010 20:59:52 +0000 (15:59 -0500)]
Cleanup. Move note files into docs/.

14 years agoSupport for SSL/TLS ('wss://') on both sides.
Joel Martin [Fri, 30 Apr 2010 21:41:09 +0000 (16:41 -0500)]
Support for SSL/TLS ('wss://') on both sides.

On the client side, this adds the as3crypto library to web-socket-js
so that the WebSocket 'wss://' scheme is supported which is WebSocket
over SSL/TLS.

Couple of downsides to the fall-back method:

    - This balloons the size of the web-socket-js object from about 12K to 172K.

    - Getting it working required disabling RFC2718 web proxy support
      in web-socket-js.

    - It makes the web-socket-js fallback even slower with the
      encryption overhead.

The server side (wsproxy.py) uses python SSL support. The proxy
automatically detects the type of incoming connection whether flash
policy request, SSL/TLS handshake ('wss://') or plain socket
('ws://').

Also added a check-box to the web page to enable/disabled 'wss://'
encryption.

14 years agoAutomatically detect TLS/SSL during handshake.
Joel Martin [Fri, 30 Apr 2010 20:54:59 +0000 (15:54 -0500)]
Automatically detect TLS/SSL during handshake.

Use MSG_PEEK flag on recv to detect whether we are getting a flash
policy request, an SSL/TLS header, or a plain socket connection.

14 years agoImport as3crypto_patch: ffda6e9cd8b1d74f45472c676afda8360ae1e5aa
Joel Martin [Fri, 30 Apr 2010 19:13:32 +0000 (14:13 -0500)]
Import as3crypto_patch: ffda6e9cd8b1d74f45472c676afda8360ae1e5aa

as3crypto is actionscript 3 crypto library with TLS engine support.

From: http://github.com/lyokato/as3crypto_patched

Which was forked from: http://code.google.com/p/as3crypto/

14 years agoDon't erase failed state error messages on disconnect.
Joel Martin [Mon, 19 Apr 2010 15:46:48 +0000 (10:46 -0500)]
Don't erase failed state error messages on disconnect.