You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POCO 1.13.1
I use WebSocket client and set recv timeout 20s. recv thread execute while { recv() }, other thread call shutdown().
It can work well on win10 、win11. the recv thread can catch exception invalid sock and the thread can exit promptly.
But on win7 the recv thread can not catch exception invalid sock, 20s later catch exception timeout and the thread can't exit promptly.
This discussion was converted from issue #4467 on March 22, 2024 17:21.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use WebSocket client and set recv timeout 20s. recv thread execute
while { recv() }
, other thread callshutdown()
.It can work well on win10 、win11. the recv thread can catch exception
invalid sock
and the thread can exit promptly.But on win7 the recv thread can not catch exception
invalid sock
, 20s later catch exceptiontimeout
and the thread can't exit promptly.Beta Was this translation helpful? Give feedback.
All reactions