Skip to content

Add HTTP connector to HttpState, instead of creating one in http_network_fetch #14697

Closed

Description

@jdm

Right now we are not pooling HTTP connections, because we create a new pool for every connection. If we add the pool to the HttpState structure, we can use it from http_network_fetch instead of creating it.

Code: components/net/resource_thread.rs, components/net/http_loader.rs
Tests: ./mach test-wpt tests/wpt/web-platform-tests/XMLHttpRequest (this will ensure that network connections keep working after the change)

Activity

  1. added
    E-less-complex
    I-refactor
    on Dec 23, 2016
  2. highfive commented on Dec 23, 2016

    @highfive

    Please make a comment here if you intend to work on this issue. Thank you!

  3. mattnenterprise commented on Dec 25, 2016

    @mattnenterprise
    Contributor

    I would like to work on this.

  4. KiChjang commented on Dec 25, 2016

    @KiChjang
    Contributor

    Go for it! Ask any questions here or on irc.mozilla.org at #servo if you have any questions!

  5. added
    C-assigned
    on Dec 25, 2016
  6. added 2 commits that reference this issue on Dec 27, 2016
    5d180af
    7e3c9e2
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

    A-networkC-assignedE-less-complexI-refactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions