-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
Make many gun_http2 functions return state or error tuple #301
Conversation
The following functions used to return a state, but now return {state, State} or {error, Reason}: * frame/5 * update_window/1,2 * maybe_ack_or_notify/2 * reset_stream/3 * push_promise_frame/7 * goaway/2 * maybe_send_data/6 * send_data/4 * send_data/6 * send_data_frame/4
Good morning Loïc. Are you busy? I believe when this is merged, the remaining "handle send errors" will be a very small change. |
Sounds good. Yes if I don't get to this today it will be next Monday. |
OK, great. The change is large but trivial, so I hope it is easy to review. Then, I can help finishing the remaining 2.0 projects, if you know what you want with them. :-) |
@zuiderkwast Reviewed. There's at least one error and a couple consistency problems that should easily be resolved. |
Merged, thanks! I've also fixed the TLS tests that fail. Dialyzer will fail until the other PR is merged. |
The following functions used to return a state, but now return {state, State} or {error, Reason}:
This is incremental refactoring preparing for #243