Skip to content

Conversation

@smacker
Copy link
Collaborator

@smacker smacker commented Apr 11, 2019

fix: #187

Current versions of bblfhd and client-go don't have any timeouts
but a proxy (like nginx) can have one.
In such case user will see standard "Bad Gateway" error.

This commit doesn't change this behaviour but handles timeouts
correctly.
In case of client (or proxy) has cancelled a request it gets propagated
to bblfsh.
In case bblfsh would add default timeout in the future this commit
handles it correctly too.

Current versions of bblfhd and client-go don't have any timeouts
but a proxy (like nginx) can have one.
In such case user will see standard "Bad Gateway" error.

This commit doesn't change this behaviour but handles timeouts
correctly.
In case of client (or proxy) has cancelled a request it gets propagated
to bblfsh.
In case bblfsh would add default timeout in the future this commit
handles it correctly too.

Signed-off-by: Maxim Sukharev <max@smacker.ru>
@smacker smacker merged commit ea2e000 into bblfsh:master Apr 12, 2019
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.

Timeout errors are not visible to the user

3 participants