mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
In theory TFO should work. Needs platform cleanup and testing
--HG-- branch : fastopen
This commit is contained in:
@@ -102,15 +102,20 @@ void cli_connected(int result, int sock, void* userdata, const char *errstring)
|
||||
ses.sock_in = ses.sock_out = sock;
|
||||
}
|
||||
|
||||
void cli_session(int sock_in, int sock_out) {
|
||||
void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) {
|
||||
|
||||
common_session_init(sock_in, sock_out);
|
||||
|
||||
if (progress) {
|
||||
connect_set_writequeue(progress, &ses.writequeue);
|
||||
}
|
||||
|
||||
chaninitialise(cli_chantypes);
|
||||
|
||||
/* Set up cli_ses vars */
|
||||
cli_session_init();
|
||||
|
||||
|
||||
/* Ready to go */
|
||||
sessinitdone = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user