Skip to content

Release version 1.3.3

Latest

Choose a tag to compare

@tvd12 tvd12 released this 26 Nov 04:38
  • Added message compression for socket sessions: the client asks for it in the handshake, and the server compresses (Deflate) responses whose content is at least compression-threshold bytes (default 512) when the result is smaller, also for encrypted messages. New socket settings compression-enable and compression-threshold.
  • Added compression-enable to the websocket setting: when it is false, the permessage-deflate, deflate-frame and x-webkit-deflate-frame extensions are turned off.
  • Added SSL handshake signing (ssl-handshake-signing socket setting, with customization SSL): the server signs the client key and the encrypted session key with the RSA or EC key from its SSL keystore (EzySslHandshakeSigner), so a client can check that it talks to the real server. The signer reloads together with the SSL config.
  • EzySslContextProxy now caches the SSL context and is thread safe on reload; EzyNioSecureSocketChannel creates each SSL engine from the current context, so a reloaded certificate applies to new connections without a restart.
  • EzyNioSecureSocketChannel waits for the channel to be readable during the SSL handshake instead of spinning, and copies buffers in bulk.
  • EzySecureSocketDataReceiver delivers bytes already decrypted during the handshake, so the first messages are not lost.
  • Upgraded to ezyfox 1.3.3.
  • Added tests, integration tests and performance tests for compression, raw bytes streaming, SSL modes, SSL reload and handshake signing.