From f4f73b2adea36640e034b5584d1aef30ddb144d9 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Sat, 19 Oct 2013 20:23:15 -0700 Subject: [PATCH] SSLServer support for Reel::Spy --- lib/reel/ssl_server.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/reel/ssl_server.rb b/lib/reel/ssl_server.rb index 6532c8f..1cf0de5 100644 --- a/lib/reel/ssl_server.rb +++ b/lib/reel/ssl_server.rb @@ -11,6 +11,7 @@ class SSLServer < Server # @return [Reel::SSLServer] Reel HTTPS server actor def initialize(host, port, options = {}, &callback) backlog = options.fetch(:backlog, DEFAULT_BACKLOG) + @spy = STDOUT if options[:spy] # Ideally we can encapsulate this rather than making Ruby OpenSSL a # mandatory part of the Reel API. It would be nice to support