-
Notifications
You must be signed in to change notification settings - Fork 16
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
Upgrade to 1.x of fastify #3
Comments
Any update on this? There are three forks of this project and all of them are just to add this fix... Can it be merged? |
This can be clossed, just only it would be nice to publish a new version in npm (ideally with my new pull-request to add support for fastify 2.0). |
ppl you don't need an npm module for this. its basics.
|
@ancmikesmullin that's already quite a lot of code to come up with without mistakes. Also, shouldn't SSE set the TCP keepalive flag? |
I should add I am using HTTP/2 :) |
@ancmikesmullin That's why I'm looking into SSE, because websockets are so complex and SSE over HTTP/2 is so much simpler :) I'm trying to find the best way to do GraphQL subscriptions and I think I'll be able to do a POST resulting in an event stream. Browsers don't support that but https://github.com/mpetazzoni/sse.js does. So what you mean is that with HTTP/2, setting TCP keepalive is not needed/not an option, right? |
Yes and I learned about it because I initially tried to set it, but got warnings in Firefox or something. Can't recall specifics but the error message was informative. Try it and see. |
Any plan to upgrade to version 1.x of fastify dependence?
The text was updated successfully, but these errors were encountered: