Skip to content

Commit

Permalink
Fixed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
joedevivo committed Apr 28, 2016
1 parent cf088ab commit 236ed94
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/http2_stream.erl
Original file line number Diff line number Diff line change
Expand Up @@ -450,16 +450,15 @@ half_closed_local(
}}
end;

half_closed_local(recv_es, #stream_state{ stream_id = StreamId, notify_pid = NotifyPid, response_body = Data} = Stream) ->
case NotifyPid of
undefined -> ok;
_ -> NotifyPid ! {'END_STREAM', StreamId}
end,
half_closed_local(recv_es,
#stream_state{
response_body = Data
} = Stream) ->
{next_state, closed,
Stream#stream_state{
incoming_frames=queue:new(),
response_body = Data
}};
}, 0};

half_closed_local(_,
#stream_state{}=Stream) ->
Expand Down

0 comments on commit 236ed94

Please sign in to comment.