Permalink
Browse files

Removed unused attributes.

  • Loading branch information...
frameworked committed Jul 4, 2017
1 parent f9dfc6a commit c9f0ca445b3d77c493268e97d2f47356dc1153c8
Showing with 2 additions and 4 deletions.
  1. +1 −1 lib/thin/backends/base.rb
  2. +0 −2 lib/thin/controllers/controller.rb
  3. +1 −1 lib/thin/server.rb
@@ -35,7 +35,7 @@ def threadpool_size=(size)
def threaded?; @threaded end

# Allow using SSL in the backend.
attr_writer :ssl, :ssl_options, :ssl_version, :ssl_cipher_list
attr_writer :ssl, :ssl_options
def ssl?; @ssl end

# Number of persistent connections currently opened
@@ -51,8 +51,6 @@ def start
server.threaded = @options[:threaded]
server.no_epoll = @options[:no_epoll] if server.backend.respond_to?(:no_epoll=)
server.threadpool_size = @options[:threadpool_size] if server.threaded?
server.ssl_version = @options[:ssl_version]
server.ssl_cipher_list = @options[:ssl_cipher_list]

# ssl support
if @options[:ssl]
@@ -86,7 +86,7 @@ class Server
def_delegators :backend, :threaded?, :threaded=, :threadpool_size, :threadpool_size=

# Allow using SSL in the backend.
def_delegators :backend, :ssl?, :ssl=, :ssl_options=, :ssl_version=, :ssl_cipher_list=
def_delegators :backend, :ssl?, :ssl=, :ssl_options=

# Address and port on which the server is listening for connections.
def_delegators :backend, :host, :port

0 comments on commit c9f0ca4

Please sign in to comment.