Replies: 3 comments
-
It's probably a bug. I'll check it out on the weekend. |
Beta Was this translation helpful? Give feedback.
-
This is a stupid bug... See attached patch for modifications. I did not use Compiler Explorer to carefully analyze what happens with an uninitialized variable (yes, it's a ub) when gcc compiles this code. |
Beta Was this translation helpful? Give feedback.
-
cool. It's OK now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To reproduce:
Now, c1 will be blocked in recv and could not exit until another client post a new message. And further more, will c1 was blocking, c0 could not exit by enter 'q', too
Beta Was this translation helpful? Give feedback.
All reactions