anacrolix / utp

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

Add a magic word in front of the header #12

Closed calmh closed 8 years ago

calmh commented 8 years ago

This identifies the connection as a Syncthing connection, makes it look less like uTP for interested viewers. Passes the test suite here, and works when copied into our vendoring directory.

calmh commented 8 years ago

Heh. Wrong repo, of course. Sorry.