I already found a fix and probably also the reason why twitter is not catching the error. I’m ‘validating’ the data, that is, i’m expecting some tweets to be incomplete so I’ll skip them. For that, I’ll check the length reported when I do &delimited=length and compare that to the length of the body received. If they match I consider the data valid, if not, I’ll simply skip it and will not attempt to JSON decode it.
I assume that Twitter is not catching the error because they are using a library that does the validation automatically… obviously, this does NOT solve the problem, it simply shows there IS an issue Twitter is not catching. Fact is the stream is now including a high number of truncated messages and this is breaking some scripts and/or programs.