]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Add a date to the metadata packet client version string
authorMatt Joiner <anacrolix@gmail.com>
Mon, 25 Aug 2014 12:12:50 +0000 (22:12 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 25 Aug 2014 12:12:50 +0000 (22:12 +1000)
client.go

index d1ae457f6ed02720a556bbd7ffb7c0867dc9c570..b02d9a50f486fb126a98d192e5afa4f146dadacb 100644 (file)
--- a/client.go
+++ b/client.go
@@ -505,7 +505,8 @@ func (me *Client) runConnection(sock net.Conn, torrent *torrent, discovery peerS
                                                "ut_metadata": 1,
                                                "ut_pex":      2,
                                        },
-                                       "v":    "go.torrent dev",
+                                       "v": "go.torrent dev 20140825", // Just the date
+                                       // No upload queue is implemented yet.
                                        "reqq": 1,
                                }
                                if torrent.metadataSizeKnown() {