-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
[Bug]: In NetGear client.recv() stucking in a some non returnable loop #374
Comments
Thanks for opening this issue, a maintainer will get back to you shortly! In the meantime:
|
@sourabmaity Which |
Possible duplicate of #361 |
abhiTronix
added a commit
that referenced
this issue
Sep 2, 2023
…Fixes #374) - ✨ Added new `subscriber_timeout` integer optional parameter to support timeout with `pattern=2` or PUBLISHER-SUBSCRIBER pattern. - 🧑💻 Receiver will exit safely if timeout defined(any value(in milliseconds) > 0), and timeout occurs in Receiver Mode with `pattern=2`. - 🎨 Note: Default behavior still is to block the thread till infinite time. - 🔊 Updated logging.
6 tasks
Successfully resolved and merged in commit 3c0dd5d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I create a simple python code for client and server
client side in a continuous while loop where its receiving image using client.recv()
server side also in a continuous loop where its sends images to netgear specific address and port
But I face a problem where client side client.recv() function stuck in some loop I think its not returning any thing when server face some unsurten network issue and disconnected .
How to solve this ?
Issue Checklist
Expected behaviour
its has a request_timeout of 5 sec , so its must return None after 5 sec.
Actual behaviour
Not executing next line of code after client.recv() seems its stuck in a continuous loop
Steps to reproduce
1> I found this bug by disconnecting the server in the middle of run.
2> or disconnecting internet in the middle of run
Terminal log output
No response
Python Code(Optional)
No response
VidGear Version
0.3.1
Python version
3.11.4
OpenCV version
4.8.0
Operating System version
windows10
Any other Relevant Information?
No response
The text was updated successfully, but these errors were encountered: