HACKING ISSUES KNOWN_ISSUES LATEST LICENSE NEWS README
Flipper OpenSSL OpenSSL::SSL
Kgio SSL SSLConnector SSLServer

Methods

::Monkey!

module Kgio

See bogomips.org/kgio/ for information on Kgio

Public Class Methods

Kgio::Monkey!(ssl_ctx, options = {}) -> ssl_ctx source

Prepares and sets up an existing OpenSSL::SSL::Context object for Kgio::SSL usage. This enables SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER and read-ahead to force OpenSSL to read as much data off the socket as it can.

With OpenSSL 1.0.0 or later, this enables SSL_MODE_RELEASE_BUFFERS to save up to 34KB of memory per connection.

This calls the OpenSSL::SSL::Context#setup method, which freezes the SSL context and prevents further modification.


Pages Classes Methods