Skip to content

Commit

Permalink
[core] Outbounds should do an actual close when error instead of only…
Browse files Browse the repository at this point in the history
… a state change
  • Loading branch information
pajama-coder committed Jun 3, 2024
1 parent cc3f7a4 commit 9b0601d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/outbound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void Outbound::error(StreamEnd::Error err) {
m_error = err;
pjs::Ref<StreamEnd> eos(StreamEnd::make(err));
input(eos);
state(State::closed);
close();
}

void Outbound::describe(char *buf, size_t len) {
Expand Down

0 comments on commit 9b0601d

Please sign in to comment.