-
Notifications
You must be signed in to change notification settings - Fork 22
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 in the new server arch #132
Comments
Does the fact that you opened this issue mean that you can reproduce it also? FWIW, @FinleyMcIlwaine did some digging, and wrote at well-typed/grapesy#183 (comment)
We'll continue to look into this (but I have another problem to sort out first). |
No, I cannot reproduce it. |
@kazu-yamamoto we figured out what was happening. So type Server = Request -> Aux -> (Response -> [PushPromise] -> IO ()) -> IO () Let's call that third argument
We changed We have run the full |
I think we can close this issue! :) |
Thank you and sorry for your inconvenience. |
@edsko's comment copied from #130:
@kazu-yamamoto I just tried with 80de8db , same result as with aa6f979 . My test setup is that the client does a streaming request to the server; this request arrives, and the serves initiates a streaming response. The client receives the headers, but then nothing. If I insert a call to
putStrLn
inoutBodyPush
athttp2/Network/HTTP2/Server/Worker.hs
Line 150 in 80de8db
http2
architecture.The text was updated successfully, but these errors were encountered: