Navigation Menu

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

No response from other requests while uploading video #2520

Closed
1 task done
polaris0227 opened this issue May 18, 2018 · 2 comments
Closed
1 task done

No response from other requests while uploading video #2520

polaris0227 opened this issue May 18, 2018 · 2 comments

Comments

@polaris0227
Copy link

polaris0227 commented May 18, 2018

What did you do?

My app sends multiple requests while uploading video.
It takes about 1 mins to upload video.
Problem is that app can't get any response of multiple requests until video upload finished.
(It get response soon without uploading video.)

What did you expect to happen?

It should receive response of other requests while uploading video.

What happened instead?

No response until video uploading finished.

Alamofire Environment

Alamofire version: 4.6
Xcode version: 9.2
Swift version: 4.0
Platform(s) running Alamofire: iPhone 5
macOS version running Xcode: High Sierra

Demo Project

No available at the moment, under progressing...

@jshier
Copy link
Contributor

jshier commented May 21, 2018

Thanks for the report! I can't think of anything Alamofire might be doing to prevent this offhand, I think it's possible that URLSession itself throttles your requests while a long running upload is in progress, both for efficiency and speed. However that's just speculation. So while I can't think of anything specific that might be causing this, ultimately a demo app is the only way for us to really investigate, so we'd really appreciate if you could create one.

@jshier
Copy link
Contributor

jshier commented Sep 6, 2018

I'm closing this pending further input.

@jshier jshier closed this as completed Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants