aboutsummaryrefslogtreecommitdiffstats
path: root/java/com/tigervnc/rdr/FdOutStream.java
Commit message (Collapse)AuthorAgeFilesLines
* Mostly stylistic changes to java viewer to match recent changes to native viewerBrian P. Hinz2019-12-211-4/+5
|
* Fixes for erros in java hextile/zrle decodersBrian P. Hinz2018-01-161-48/+53
| | | | | | Various errors exposed when connecting to RealVNC servers on alternative platforms (ARM, SPARC). SSLEngineManager was also cleaned up but most of the changes are cosmetic.
* Major overhaul of SSLEngineManagerBrian P. Hinz2014-11-021-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | The SSLEngineManager was basically an abomination. The work is now done as it should be, with the buffers being fed and the engine deciding when data is consumed or produced. The engine should be much more robust now as well. Additionally, although JRE 7 supports the TLSv1.1 and TLSv1.2 protocols, they are not actually enabled by default. The JSSE reference cites compatibility reasons for this but this doesn't appear to be the case with the TigerVNC server and they will be enabled by default in JRE 8. The regular expression for enabling anonymous DH cipher suites was too narrow and excluded the elliptic curve ciphers, which are now ordered ahead of the ephemeral ciphers by the default security provider. Lastly, increase the size of the buffer in FdOutStream from 8Kb to 16Kb. I'm not sure why FdInStream and FdOutStream were asymmetric to begin with, but 16Kb is the default size for TLS packets and there seems to be now negative effects on plain text connections.
* Whitespace cleanup onlyBrian Hinz2013-05-121-11/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5097 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make exception handling more user friendly. Not all exceptions are 'errors' ↵Brian Hinz2012-12-161-2/+2
| | | | | | (for example, exiting the server intentionally via the window manager's logoff button). git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5021 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Update address of FSF and copyright notices to assign proper credit.Brian Hinz2012-04-111-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4888 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Changes aimed at making the behavior of the java client more consistent with ↵Brian Hinz2012-03-181-10/+10
| | | | | | the binary client. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4871 3789f03b-4d11-0410-bbf8-ca57d06f2519
* pass correct timeout value to selector. limit pixel depth to 24 (OS X ↵Brian Hinz2012-03-141-6/+5
| | | | | | defaults to 32). Increase write buffer size to match CXX value. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4867 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace all stream-based IO with non-blocking NIO-based implementation. ↵Brian Hinz2012-02-031-0/+177
Still a fair amount of cleanup to do, particularly in the SSL handler, which is not very robust, and exception handling in general. All core functionality appears to be working fine though. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4842 3789f03b-4d11-0410-bbf8-ca57d06f2519