diff options
author | Viktor Söderqvist <[email protected]> | 2022-09-27 20:11:27 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2022-10-11 18:26:27 +0200 |
commit | 2e3f2c1474350199ec1f9379c2dbe60627493962 (patch) | |
tree | da8102246efcb0f62cc54aa96c43db5f0ef7f2c9 /src/gun_protocols.erl | |
parent | ece7ceb797c7f6da9717775ea14b220a1f5105ad (diff) | |
download | gun-2e3f2c1474350199ec1f9379c2dbe60627493962.tar.gz gun-2e3f2c1474350199ec1f9379c2dbe60627493962.tar.bz2 gun-2e3f2c1474350199ec1f9379c2dbe60627493962.zip |
Make many gun_http2 functions return state or error tuple
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
Dialyzer will temporarily fail until functions start to
return error tuples.
Diffstat (limited to 'src/gun_protocols.erl')
0 files changed, 0 insertions, 0 deletions