#230: Getting Disconnect after user auth request
------------------------------+----------------------
Reporter: positive_libssh | Owner: bagder
Type: defect | Status: assigned
Priority: normal | Milestone: 1.4.0
Component: protocol | Version: 1.3.0
Resolution: | Keywords:
Blocked By: | Blocks:
------------------------------+----------------------
Comment (by positive_libssh):
source code contains nothing special...
some_class_initialization(....)
socket_(new socket(ss.ip_in_network_order(),
ss.port_in_network_order())),
session_(libssh2_session_init(), &close_session),
prompts_(new prompts_holder(as.login())),
errors_(new errors_holder(as.login()))
{
TRANSPORT_CHECK(session_, L"Failed to initialize ssh session",
...);
{
libssh2_trace_sethandler(session_.get(), NULL,
&trace_handler_func);
libssh2_trace(session_.get(),
settings().ssh_logging_bitmask());
}
libssh2_session_set_blocking(session_.get(), true);
SSH_CHECK
(
!libssh2_session_startup(session_.get(),
socket_->handle()),
(*this),
L"Failed to initialize ssh session",
...
);
}
-- Ticket URL: <http://trac.libssh2.org/ticket/230#comment:4> libssh2 <http://trac.libssh2.org/> C library for writing portable SSH2 clients _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2011-11-25