4 ms·
> [...] wondering about the yield ' ' * 1200 in there. [...] some browsers (like Chrome) will sit & buffer if there isn't enough data to start with [...] Sligh
by pacoverdi 15y ago
> [...] wondering about the yield ' ' * 1200 in there. [...] some browsers (like Chrome) will sit & buffer if there isn't enough data to start with [...]
Slightly off topic, but I wonder if this technique can be used to circumvent the buffering that occurs in HTTP proxies? I encountered the problem once and was only able to make the application responsive by closing the connection after a timeout (forcing the client to open another one).