You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add HTTP connector to HttpState, instead of creating one in http_network_fetch #14697
A-networkC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.I-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
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)
A-networkC-assignedThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.I-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
Activity
highfive commentedon Dec 23, 2016
Please make a comment here if you intend to work on this issue. Thank you!
mattnenterprise commentedon Dec 25, 2016
I would like to work on this.
KiChjang commentedon Dec 25, 2016
Go for it! Ask any questions here or on
irc.mozilla.orgat #servo if you have any questions!Auto merge of #14741 - mattnenterprise:use-http-connection-pool, r=jdm
Auto merge of #14741 - mattnenterprise:use-http-connection-pool, r=jdm