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

THRIFT-4671: handle client's unexpected close. #1635

Merged
merged 1 commit into from Nov 23, 2018

Conversation

hizilla
Copy link
Contributor

@hizilla hizilla commented Nov 23, 2018

THRIFT-4671: handle client's unexpected close. Avoid the server work thread falling into dead loop.
Client: c_glib

handle client's unexpected close. Avoid the server work thread falling into dead loop because :
1. the function return result from INT32 coverts to UINT32 ;
2. the condition in line 482 "ftype == T_STOP" will never be satisfied when the client socket closed before sending data to server.
@jeking3 jeking3 merged commit 7abb7d5 into apache:master Nov 23, 2018
@hizilla hizilla deleted the THRIFT-4671 branch November 23, 2018 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants