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