1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-07 08:02:56 +03:00

Add LIBSSH2_TRACE_SOCKET context for tracing send() and recv()

Helpful in debugging the -39 errors.
This commit is contained in:
Peter Stuge
2009-12-08 08:40:30 +01:00
parent 1256c61815
commit 1a491c6f00
5 changed files with 46 additions and 2 deletions

View File

@@ -883,6 +883,7 @@ LIBSSH2_API int libssh2_trace(LIBSSH2_SESSION *session, int bitmask);
#define LIBSSH2_TRACE_SFTP (1<<6)
#define LIBSSH2_TRACE_ERROR (1<<7)
#define LIBSSH2_TRACE_PUBLICKEY (1<<8)
#define LIBSSH2_TRACE_SOCKET (1<<9)
#ifdef __cplusplus
} /* extern "C" */