Re: SSHv2 doesn't actually have compression levels

2019-08-23 Thread Ludovic Courtès
Tobias Geerinckx-Rice skribis: > Ludo', > > Welcome back :-) > > Ludovic Courtès 写道: >> I don’t get it: the ‘compression-level’ field defaults to 3, and >> OpenSSH >> does: >> >> static int >> start_compression_out(struct ssh *ssh, int level) >> { >> if (level < 1 || level > 9) >>

Re: SSHv2 doesn't actually have compression levels

2019-08-22 Thread Tobias Geerinckx-Rice
Ludo', Welcome back :-) Ludovic Courtès 写道: I don’t get it: the ‘compression-level’ field defaults to 3, and OpenSSH does: static int start_compression_out(struct ssh *ssh, int level) { if (level < 1 || level > 9) return SSH_ERR_INVALID_ARGUMENT; de

Re: SSHv2 doesn't actually have compression levels

2019-08-22 Thread Ludovic Courtès
Hello, Tobias Geerinckx-Rice skribis: > While reading (guix scripts offload) in a (failed) attempt to get > offloading working, the following comment caught my eye: > > ;; We rely on protocol-level compression from libssh to optimize > large data > ;; transfers. Warn if it's missing. > > whic

SSHv2 doesn't actually have compression levels

2019-07-29 Thread Tobias Geerinckx-Rice
Guix, While reading (guix scripts offload) in a (failed) attempt to get offloading working, the following comment caught my eye: ;; We rely on protocol-level compression from libssh to optimize large data ;; transfers. Warn if it's missing. which means that we're not currently doing our