Mention socket is from stream reader in log message
Trigger a 4.1.x alpha release build / trigger_alpha_build (push) Has been cancelled Details
Test (make) / Build and Xref (1.17, 26) (push) Has been cancelled Details
Test (make) / Build and Xref (1.17, 27) (push) Has been cancelled Details
Test (make) / Test (1.17, 27, khepri) (push) Has been cancelled Details
Test (make) / Test (1.17, 27, mnesia) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.17, 27, khepri) (push) Has been cancelled Details
Test (make) / Test mixed clusters (1.17, 27, mnesia) (push) Has been cancelled Details
Test (make) / Type check (1.17, 27) (push) Has been cancelled Details

(cherry picked from commit 72df6270b2)
This commit is contained in:
Arnaud Cogoluègnes 2025-06-19 15:50:47 +02:00
parent d6cc15a923
commit d9c0c6eee1
No known key found for this signature in database
GPG Key ID: D5C8C4DFAD43AFA8
1 changed files with 2 additions and 2 deletions

View File

@ -813,14 +813,14 @@ open(info,
open(info, {Closed, Socket}, #statem_data{connection = Connection})
when Closed =:= tcp_closed; Closed =:= ssl_closed ->
_ = demonitor_all_streams(Connection),
rabbit_log_connection:warning("Socket ~w closed [~w]",
rabbit_log_connection:warning("Stream reader socket ~w closed [~w]",
[Socket, self()]),
stop;
open(info, {Error, Socket, Reason},
#statem_data{connection = Connection})
when Error =:= tcp_error; Error =:= ssl_error ->
_ = demonitor_all_streams(Connection),
rabbit_log_connection:error("Socket error ~tp [~w] [~w]",
rabbit_log_connection:error("Stream reader socket error ~tp [~w] [~w]",
[Reason, Socket, self()]),
stop;
open(info, {'DOWN', MonitorRef, process, _OsirisPid, _Reason},