compression: send zlib before none
As the list of algorithms in a preferred order we should send zlib before none to increase the chances that the server will let us do compression.
This commit is contained in:
parent
59636cc11e
commit
77a9335515
@ -331,10 +331,10 @@ static const LIBSSH2_COMP_METHOD comp_method_zlib = {
|
||||
*********************** */
|
||||
|
||||
static const LIBSSH2_COMP_METHOD *comp_methods[] = {
|
||||
&comp_method_none,
|
||||
#ifdef LIBSSH2_HAVE_ZLIB
|
||||
&comp_method_zlib,
|
||||
#endif /* LIBSSH2_HAVE_ZLIB */
|
||||
&comp_method_none,
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user