Azure / Azure/DotNetty

StackTrace not correct when exception caught

Open
#593 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

In method ChannelOutboundBuffer.FailFlushed, the statement "this.Remove0(cause, notify)" appends some same text to variable cause.StackTrace in each loop, when this statement loops for many times, the variable cause.StackTrace reachs hundreds of lines.
we can fix this by change statement from "if (!this.Remove0(cause, notify))" to "if (!this.Remove0(new Exception("fail flush", cause), notify))".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.