Can now control SSL cert verfication from in-engine
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
set_initial_state();
|
||||
|
||||
// Establish a connection to the server.
|
||||
channel_ = new_outgoing_channel("localhost:8085");
|
||||
channel_ = new_outgoing_channel("cert:localhost:8085");
|
||||
|
||||
// Set the console prompt
|
||||
get_stdio_channel()->set_prompt(console_.get_prompt());
|
||||
@@ -262,7 +262,7 @@ public:
|
||||
// Check for communication from server..
|
||||
if (channel_ != nullptr) {
|
||||
if (channel_->closed()) {
|
||||
stdostream() << "Server closed connection " << channel_->error() << std::endl;
|
||||
stdostream() << "server closed connection: " << channel_->error() << std::endl;
|
||||
abandon_server();
|
||||
} else {
|
||||
while (true) {
|
||||
|
||||
Reference in New Issue
Block a user