Skip to content

Commit

Permalink
Merge pull request #124 from zmstone/0827-fix-einval-crash
Browse files Browse the repository at this point in the history
fix: socket write error should not result in a crash report
zmstone authored Aug 27, 2024
2 parents b74bbb9 + a2cb69f commit e44c9ac
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* 4.1.8
- Avoid generating crash-report when failed to write socket [PR#124](https://github.com/kafka4beam/kafka_protocol/pull/124)

* 4.1.7
- Automatically re-authenticate before session lifetime expires if SASL
authentication module returns `{ok, ServerResponse}` and ServerResponse
2 changes: 1 addition & 1 deletion src/kpro_connection.erl
Original file line number Diff line number Diff line change
@@ -483,7 +483,7 @@ send_request({From, {send, Request}},
, {caller, Caller}
, {reason, Reason0}
],
exit({send_error, Reason})
exit({shutdown, Reason})
end,
State#state{requests = NewRequests}.

0 comments on commit e44c9ac

Please sign in to comment.