https://bugs.kde.org/show_bug.cgi?id=394496

            Bug ID: 394496
           Summary: KTorrent sends upload_only as a string
           Product: ktorrent
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: j...@irif.fr
  Target Milestone: ---

I've just received an Extended TLV from KTorrent that looks like this:

0000   00 00 00 75 14 00 64 31 3a 6d 64 36 3a 75 74 5f  ...u..d1:md6:ut_
0010   70 65 78 69 31 65 31 31 3a 75 74 5f 6d 65 74 61  pexi1e11:ut_meta
0020   64 61 74 61 69 32 65 65 31 3a 70 69 36 38 38 31  datai2ee1:pi6881
0030   65 34 3a 72 65 71 71 69 32 35 30 65 31 33 3a 6d  e4:reqqi250e13:m
0040   65 74 61 64 61 74 61 5f 73 69 7a 65 69 32 33 33  etadata_sizei233
0050   37 37 65 31 31 3a 75 70 6c 6f 61 64 5f 6f 6e 6c  77e11:upload_onl
0060   79 31 3a 30 31 3a 76 31 34 3a 4b 54 6f 72 72 65  y1:01:v14:KTorre
0070   6e 74 2f 34 2e 33 2e 31 65                       nt/4.3.1e

Note that the upload_only value is a string, while according to BEP-21 it
should be an integer (11:upload_only:i1e).  I suggest that KTorrent should
either omit the upload_only key, or send it as an integer.  Implementing the

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to