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

Reply via email to