-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
ASGI Extension support #78
Comments
@synodriver thank you! Regarding ASGI extensions, at the moment there are no plans; at least not within the next milestones. |
Some asgi frameworks use zerocopy extension to serve static files, which can significantly improve the performance, and in some cases the server need to talk to a grpc client directly, which need the trailer header extension. I just forked hypercorn to add all extension support, this may help implementing these extensions for the rust server. |
So, regarding the two explicit extensions you mentioned:
|
Thanks for letting me know that since I'm not very familiar with rust. Looks like the asgi spec itself heavily relies on python asyncio implementation, making other languages very hard to implement. |
Yep. It's even in the first paragraph of RSGI rationale (https://github.com/emmett-framework/granian/blob/master/docs/spec/RSGI.md#rationale) ;) |
So regardless thoses extension which is difficult to support, what about other extensions mentioned in asgi spec? Are they possible for the rust server?BTW the easiest extension to implement I think should be lifespan.state, just pass an empty dict to |
@synodriver sorry for the late reply, I was in PyConIT this weekend and a lot was happening! I agree |
I agree too. Actually I have send a pr to nginx unit to add |
Great project!Just out of curious, is there any ASGI Extension support in plan?
The text was updated successfully, but these errors were encountered: