> In this case, it fails as follows: > > /* extract from the latest qemu ssh block driver code */ > r = libssh2_sftp_fsync(s->sftp_handle); > /* ... */ > if (r == LIBSSH2_ERROR_SFTP_PROTOCOL && > libssh2_sftp_last_error(s->sftp) == LIBSSH2_FX_OP_UNSUPPORTED) { > unsafe_flush_warning(s, "OpenSSH >= 6.3"); > return 0; > }
What about SSH servers, other than OpenSSH, which might implement this extension? The unsafe_flush_warning() message there, then, might be misleading... Cheers, TJ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ No day in which something is learned is ever wasted. -TJ Saunders ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel