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

Request with timeout throw exception as "Failed to read HTTP status line" #195

Open
avs009 opened this issue Jul 7, 2016 · 0 comments
Open

Comments

@avs009
Copy link

avs009 commented Jul 7, 2016

When make a request and it not respond in timeout configuration the exception throw as "Failed to read HTTP status line", this error sounds like "Response timeout exceeded".

Test case:

Client:
Do a GET request and pass timeout as paramter (ex: 5000 ms):
http://localhost:8080/api/test?timeout=5000

Server:
Sleep for the timeout and before answer request.

Result in client:
Throw exception with message: "Failed to read HTTP status line"

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

No branches or pull requests

1 participant