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

Enhancement: Add support for timeout greater than 60 seconds. #261

Open
iupchris10 opened this issue Apr 30, 2018 · 1 comment
Open

Enhancement: Add support for timeout greater than 60 seconds. #261

iupchris10 opened this issue Apr 30, 2018 · 1 comment

Comments

@iupchris10
Copy link

iupchris10 commented Apr 30, 2018

I had to stop using ModernHttpClient because I discovered that the timeout I set on my HttpClient (which is greater than 60 seconds) is not applied to the native NSUrlSession / OkHttp request. It appears that ModernHttpClient is using the default 60 second timeout, which is sadly not sufficient for my application, whose server experiences intermittent performance issues but still eventually responds.

It would be nice if a timeout could either be passed into the NativeMessageHandler() constructor, or if the timeout could be plucked off the HttpClient and applied to the native handler.

@mhughey-vent
Copy link

I have the same issue.

We have a TLS 1.2 requirement, and we a have to use the NSUrlSession (iOS 7+) configuration setting on HTTP Client implementation section

However, our custom timeout is ignored, so some of our longer running request timeout.

We need a workaround

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

2 participants