Displaying 2 results from an estimated 2 matches for "connection_complet".
Did you mean:
connection_completed
2009 Feb 26
1
0.12.4 dies with call SetTlsParms before
...d found that my happy little eventmachine
processes die with:
terminate called after throwing an instance of ''std::runtime_error''
what(): call SetTlsParms before calling StartTls
Here''s what I believe is the relevant snippet of my code, which calls
start_tls() in the connection_completed() callback:
connection = EventMachine::Protocols::HttpClient2.connect(args)
class << connection
def connection_completed
logger.debug4 {
"Connected to " + dest_host
}
start_tls if @args[:ssl]
super
end
....etc
D...
2008 Jan 16
3
getsockname access
Is getsockname (or its equivalent) available to an EM Connection
object? I''d like to access the local port number in my client
application.
--Michael