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

Feature Request: set deadline to okio #2191

Closed
danvinokour opened this issue Jan 4, 2016 · 2 comments
Closed

Feature Request: set deadline to okio #2191

danvinokour opened this issue Jan 4, 2016 · 2 comments
Labels
enhancement Feature not a bug
Milestone

Comments

@danvinokour
Copy link

Hi,

There is no elegant way to set timeout to the whole process of the request.
ReadTimeout affects only until data is ready to be read and is passed to okio as timeout which as i understand effects is timeout between each byte being read.
It would be great if i could set a timeout to the whole request process which probably means that okio's deadline is a good parameter to play with.

@swankjesse swankjesse added the enhancement Feature not a bug label Jan 14, 2016
@swankjesse swankjesse added this to the 3.2 milestone Jan 14, 2016
@ericcj
Copy link

ericcj commented Mar 4, 2016

this would be great

@swankjesse
Copy link
Collaborator

Duplicates #2840

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Feature not a bug
Projects
None yet
Development

No branches or pull requests

3 participants