Skip to content
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

Clear the timeout if data is received #3

Merged
merged 3 commits into from
Aug 30, 2013

Conversation

itstrath
Copy link
Collaborator

Tied the timeout to a variable, the_timeout, and cleared the timeout in the recieve_data() function, because the timeout was going off regardless of receiving and response or not.
An error would occur when the timeout function would try to socket.close() a closed socket.

Tied the timeout to a variable, the_timeout, and cleared the timeout in the recieve_data() function, because the timeout was going off regardless of receiving and response or not. 
An error would occur when the timeout function would try to socket.close() a closed socket.
Tied the timeout to a variable, the_timeout, and cleared the timeout in the recieve_data() function, because the timeout was going off regardless of receiving and response or not. 
An error would occur when the timeout function would try to socket.close() a closed socket.
gpittarelli added a commit that referenced this pull request Aug 30, 2013
Clear the timeout if data is received
@gpittarelli gpittarelli merged commit 21713dc into gpittarelli:master Aug 30, 2013
@gpittarelli
Copy link
Owner

Woops, sorry about that! Your updates look good so I'll merge.

Since you are (afaik) the only one currently using this project, I'll go ahead and add you as a contributor so you don't have to wait on me to accept these requests (if you have any more) :)

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.

2 participants