[OpenDHT-Users] Weird CRs in answer from OpenDHT
Samu Varjonen
samu.varjonen at helsinki.fi
Mon Sep 3 14:48:51 UTC 2007
Hi,
I have a problem, when I issue a put with value, below,
...
0140 3c 2f 62 61 73 65 36 34 3e 3c 2f 76 61 6c 75 65 </base64></value
0150 3e 3c 2f 70 61 72 61 6d 3e 3c 70 61 72 61 6d 3e ></param><param>
0160 3c 76 61 6c 75 65 3e 3c 62 61 73 65 36 34 3e 41 <value><base64>A
0170 41 77 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AwAAAAAAAAAAAAAA
0180 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0190 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
01a0 41 41 41 41 41 44 42 41 44 67 41 41 41 41 41 41 AAAAADBADgAAAAAA
01b0 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 3c AAAAAAAAAAAAAAA<
01c0 2f 62 61 73 65 36 34 3e 3c 2f 76 61 6c 75 65 3e /base64></value>
...
and issue a get to that key, I get the value below.
...
0130 61 72 72 61 79 3e 3c 64 61 74 61 3e 3c 76 61 6c array><data><val
0140 75 65 3e 3c 62 61 73 65 36 34 3e 41 41 77 41 41 ue><base64>AAwAA
0150 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0160 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0170 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 AAAAAAAAAAAAAAAA
0180 41 44 42 41 44 67 41 41 41 41 41 41 41 41 41 41 ADBADgAAAAAAAAAA
0190 41 41 41 41 41 41 41 0a 41 41 41 41 0a 3c 2f 62 AAAAAAA.AAAA.</b
01a0 61 73 65 36 34 3e 3c 2f 76 61 6c 75 65 3e 3c 2f ase64></value></
...
There seems to be couple of extra 0X0a in the answer, that don't belong
to the value, otherwise the value seems to be OK.
Its easy to remove them but, where do they come from?
Example is copy pasted from ethereal output.
BR
Samu Varjonen
---------------------
samu.varjonen at hiit.fi
More information about the OpenDHT-Users
mailing list