-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connection block when write connection reset by peer #222
Comments
Please help us help you by providing enough information that we can easily reproduce this issue:
|
And I try write a demo to exhibits this issue. |
goroutine 52 block reason:
Lines 464 to 470 in 831d90b
not safe enough - - |
goroutine 214 block reason:
Lines 436 to 450 in 831d90b
In some case, reader will call |
code for this issue:main.go.txt |
my pr is ready #223 |
Thank you! 🏅 |
Describe the bug
version: v1.8.1
NotifyClose got error:
pprof block:
Reproduction steps
close mq connection by hand
Expected behavior
no block
Additional context
There are two goroutine are wired. Maybe there is two bug?
Code like:
The text was updated successfully, but these errors were encountered: