anacrolix / utp

Use anacrolix/go-libutp instead
https://github.com/anacrolix/go-libutp
Mozilla Public License 2.0
173 stars 35 forks source link

spec question #2

Closed jbenet closed 9 years ago

jbenet commented 9 years ago

the readme says:

It opts for simplicity and reliability over strict adherence to the (poor) spec

Could you please note somewhere which things you're talking about specifically? That way we can make sure to watch out for them. (I've found many bugs in transport protocol implementations, and usually notes like these helped find them).


By the way, uTP should be LEDBAT (RFC 6817), so it should be well specced out. Wikipedia notes:

but the details of the µTP implementation are different from those of the draft.[19][broken citation]

I haven't dived deeply into either to know what's different, but would also be relevant to document somewhere.

I suspect that Apple's LEDBAT extensions to the TCP stack (used for software updates) may also be helpful: https://opensource.apple.com/source/xnu/xnu-1699.32.7/bsd/netinet/tcp_ledbat.c