Hi Alexandre, On Mon, Sep 16, 2019 at 01:46:06AM +0300, Giorgos Skafidas wrote: > Package: syncthing > Version: 1.0.0~ds1-1+b11 > Severity: wishlist > > Dear Maintainer, > > please consider updating Syncthing to its latest upstream version, 1.2.2. > > Thank you for your efforts!
I'm not familiar with Go, so might be misinterpreting the ftbfs of the master branch of Syncthing's Debian packaging, but from what I've read: src/github.com/syncthing/syncthing/lib/connections/quic_dial.go:90:14: session.Close undefined (type quic.Session has no field or method Close) src/github.com/syncthing/syncthing/lib/connections/quic_dial.go:97:22: cannot use &quicTlsConn literal (type *quicTlsConn) as type tlsConn in field value: *quicTlsConn does not implement tlsConn (wrong type for ConnectionState method) have ConnectionState() qtls.ConnectionState want ConnectionState() tls.ConnectionState that, in combination with quic's upstream commit messages seems to indicate that they migrated from tls.ConnectionState to qtls.ConnectionState. If I'm not wrong, then this means that Syncthing 1.2.0~ds1 is too old and doesn't support qtls.ConnectionState from golang-github-lucas-clemente-quic-go-dev/0.17.2-1. Syncthing 1.2.0~ds1's go.mod and go.sum declare a dep on v0.11.2, which is consistent with this hypothesis. It seems to me that the most expedient path forward is to jump from 1.2.x to 1.4.x. ACK? Sincerely, Nicholas
signature.asc
Description: PGP signature