New debugging output shows I just received 44,574 tweets before getting only keep-alive newlines every 20 seconds for about 30 minutes before I killed the script and restarted it.
-Chad On Tue, May 26, 2009 at 5:48 PM, Chad Etzel <[email protected]> wrote: > Hi John (and others playing w/ the stream), > > I have been playing with /spritzer.json for a while. Primarily I am > using a PHP script to connect to the stream, then deal with the > results by passing them off to other processes, etc... > > After a while of receiving a bunch of tweets (not sure exactly how > many, but I've added debugging output to give me some numbers), they > stop coming in the stream, but I do get keep-alive newlines exactly > every 20 seconds. So, the socket is still open, and I am still > connected and receiving newlines, but no new tweets. If I kill the > script (i.e. close the socket) and restart, the tweets start streaming > in again. Is anyone else experiencing this? > > > Also, I've noticed a difference in the stream depending on whether I > send "HTTP/1.0" or "HTTP/1.1" in the GET header. Is this intentional? > Is there a preferred version to use? > > Thanks, > -Chad >
