Class: HTTPAccess2::SessionManager

Inherits:
Object
  • Object
show all
Defined in:
lib/magnolia_i_e.rb

Overview

reopening the session manager class to specify different timeouts settings

Instance Method Summary collapse

Constructor Details

#initializeSessionManager

Returns a new instance of SessionManager.



36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/magnolia_i_e.rb', line 36

def initialize
  @proxy = nil
  @agent_name = nil
  @from = nil
  @protocol_version = nil
  @debug_dev = nil
  @socket_sync = true
  @chunk_size = 8192
  @connect_timeout = 60
  @connect_retry = 2
  @send_timeout = 120
  @receive_timeout = 300000	# For each read_block_size bytes
  @read_block_size = 8192000 
  @ssl_config = nil
  @sess_pool = []
  @sess_pool_mutex = Mutex.new
end