storj / utp-go

A porting of Transmission's libutp to Golang
MIT License
4 stars 4 forks source link

Use in anacrolix/torrent #11

Open anacrolix opened 5 months ago

anacrolix commented 5 months ago

I had some queries about uTP in anacrolix/torrent in https://github.com/anacrolix/go-libutp/issues/29, wherein this module was mentioned. There's some context in that issue.

Why do you provide TLS API? Shouldn't it be orthogonal to any uTP stuff?

Do you support dialling out from an existing UDP socket? This was a specific feature I supported in https://github.com/anacrolix/utp and https://github.com/anacrolix/go-libutp. Do you know if Transmission doesn't support this?

Are you interested in having this be the default uTP implementation in anacrolix/torrent?

Thanks!

anacrolix commented 2 months ago

I did some follow up testing. There are some issues in Close handling that lead to stalls and inability to cancel reads in this package. It also seemed to only operate successfully about 1/4 to 1/3 of the time that https://github.com/anacrolix/go-libutp does.