-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streaming does not work #23
Comments
|
Could you please try curl with -N option: curl -N -v http://127.0.0.1:3000 |
Thanks! |
The Twitter stream API for example is working and streaming for me with the same curl call:
|
It's likely because Twitter API results would fill the curl buffer very quickly, so you'd see the results almost instantly. |
Okay. So you think it is a problem with curl? (Just to make sure: It was still not working with the curl -N switch) |
Ah I thought -N did the trick. I'll have a look later today. Thanks! |
I suspect the problem is due to the Instead of holding up the whole reactor with
|
I have this code:
I run this with
thin --timeout 0 -R hello_world.ru start
but nothing is streamed:It takes exactly the
sleep(5)
seconds to get the result returned.I have the same problem when running in a clamp skeleton application as described in the docs. (using Bundler)
Server output:
Versions:
Gems:
I am not sure where to start debugging so any help would be very appreciated! Thank you!
The text was updated successfully, but these errors were encountered: