1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

Make OpenSSH-style keepalive work against libssh2 clients.

This commit is contained in:
Simon Josefsson
2010-01-28 14:30:25 +01:00
parent 6d55714ab5
commit cc7f90f1d4
3 changed files with 43 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
/* Copyright (c) 2004-2008, Sara Golemon <sarag@libssh2.org>
* Copyright (c) 2009 by Daniel Stenberg
* Copyright (c) 2010 Simon Josefsson
* All rights reserved.
*
* Redistribution and use in source and binary forms,
@@ -209,7 +210,8 @@ typedef enum
libssh2_NB_state_sent7,
libssh2_NB_state_jump1,
libssh2_NB_state_jump2,
libssh2_NB_state_jump3
libssh2_NB_state_jump3,
libssh2_NB_state_jump4
} libssh2_nonblocking_states;
typedef struct packet_require_state_t