Strange delimited


#1

Hi, all! I have strange situation with reading stream:

if I set delimited = ‘length’, text in buffer will be something like:

37c
2835
{"created_at":"Tue Nov 25 13:42:49 +0000 ...%status chunk continuation%
79d
41:29 +0000 2013","utc_offset":null,"time_zone":null,"...%status chunk continuation%

82c
2570
{"created_at":"Tue Nov 25 13:42:49 +0000 ...%status chunk continuation%

Why I receive hex chunk length?! If I don’t set any delimited I still receive hex length of status’s chunks. Why?! I didn’t find this case in documentation…

Sometimes I receive text from buffer, that containes \r\r\n1\r\n\n\r\n or \r\n2\r\n\r\n after message’s end! What it means?!

Example:

\":\"1416917134811\"}\r\r\n1\r\n\n\r\nad6\r\n{\"created_at\":\"Tue Nov 25 12:05:34 +0000 2014\",\"id\":537215516814114816,\"

Help me, plz!