@@ -1007,7 +1007,7 @@ open(cast,
1007
1007
SendFileOct )
1008
1008
of
1009
1009
{error , closed } ->
1010
- rabbit_log :info (" Stream protocol connection has been closed by peer" , []),
1010
+ rabbit_log_connection :info (" Stream protocol connection has been closed by peer" , []),
1011
1011
throw ({stop , normal });
1012
1012
{error , Reason } ->
1013
1013
rabbit_log_connection :info (" Error while sending chunks: ~p " ,
@@ -1825,7 +1825,7 @@ handle_frame_post_auth(Transport,
1825
1825
1826
1826
case send_chunks (Transport , ConsumerState , SendFileOct ) of
1827
1827
{error , closed } ->
1828
- rabbit_log :info (" Stream protocol connection has been closed by peer" , []),
1828
+ rabbit_log_connection :info (" Stream protocol connection has been closed by peer" , []),
1829
1829
throw ({stop , normal });
1830
1830
{{segment , Segment1 }, {credit , Credit1 }} ->
1831
1831
ConsumerState1 =
@@ -1900,7 +1900,7 @@ handle_frame_post_auth(Transport,
1900
1900
SendFileOct )
1901
1901
of
1902
1902
{error , closed } ->
1903
- rabbit_log :info (" Stream protocol connection has been closed by peer" , []),
1903
+ rabbit_log_connection :info (" Stream protocol connection has been closed by peer" , []),
1904
1904
throw ({stop , normal });
1905
1905
{{segment , Segment1 }, {credit , Credit1 }} ->
1906
1906
Consumer1 =
0 commit comments