[Web-SIG] WSGI: allowing short reads
Antoine Pitrou
solipsis at pitrou.net
Sat Sep 27 23:45:32 CEST 2014
On Sun, 28 Sep 2014 10:43:33 +1300
Robert Collins
<robertc at robertcollins.net> wrote:
> >
> > It was in the context of improving streamed unpickling, which is
> > a problem a bit similar - but less horrible - to JSON unserializing;
> > since then, the problem was solved in a different way by adding a
> > framing layer to pickle protocol 4 :-).
>
> BufferedReader solves this well though, doesn't it?
Assuming it's the only one accessing the raw stream, yes.
Regards
Antoine.
More information about the Web-SIG
mailing list