Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Customize count of http maximum concurrent requests #11200

Closed

Description

@Dagzo

Platform: Android
Mapbox SDK version: 5.4.0

Steps to trigger behavior

  1. Request offline region download when internet connection is weak.
  2. the download is failed.

Expected behavior

The download is not failed even if connection is weak.

Actual behavior

The download is failed.

I want to change the http maximum concurrent requests count.
Strictly, I want to reduce the counts.

https://github.com/mapbox/mapbox-gl-native/blob/master/platform/android/src/http_file_source.cpp#L192

Activity

  1. added
    Core
    on Feb 14, 2018
  2. stale commented on Oct 28, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  3. added
    archived
    on Oct 28, 2018
  4. chaupow commented on Oct 31, 2018

    @chaupow
    Contributor

    Hi @Dagzo thanks for the issue!

    Can you give us more information with what you mean by

    the download is failed.

    We're failing to understand how a lower concurrency count would solve the problem you're experiencing.

    Per chat also capturing a hint by @tobrun that might be worth a try:

    users can already do this, by providing their own implementation of a httpclient and setting it up as part of it

    I'll close this issue by the end of the week if we don't hear back. Otherwise, also feel free to open a new issue or reopen this one.

  5. removed
    archived
    on Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Corefeatureoffline

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions