Skip to content

Comments

Solving an issue with indefinite hanging on stream. #45#46

Open
benguild wants to merge 1 commit intoimmobiliare:masterfrom
benguild:master
Open

Solving an issue with indefinite hanging on stream. #45#46
benguild wants to merge 1 commit intoimmobiliare:masterfrom
benguild:master

Conversation

@benguild
Copy link

The main concerns are: whether or not ‘unread_bytes’ is actually populated without an fread(), and also whether or not a loop is needed with a timeout to check fread() multiple times (with an assigned timeout) or to check ‘unread_bytes’ several times within X seconds before aborting.

The main concerns are: whether or not ‘unread_bytes’ is actually
populated without an fread(), and also whether or not a loop is needed
with a timeout to check fread() multiple times (with an assigned
timeout) or to check ‘unread_bytes’ several times within X seconds
before aborting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant