Open Bug 773778 Opened 12 years ago Updated 2 years ago

Allow unused TCP connections to a domain to be reused for a different domain that resolves to the same IP address

Categories

(Core :: Networking: HTTP, defect, P5)

Other
Android
defect

Tracking

()

People

(Reporter: kats, Unassigned)

Details

(Whiteboard: [necko-would-take])

I saw this in tcpdump while loading news.google.com. We open a TCP connection to www.gstatic.com (which resolves to 74.125.226.47) which ends up not being used, and is eventually closed. While it is open and idle though, we open another TCP connection to ssl.gstatic.com (which also resolves to 74.125.226.47) and uses that to fetch a bunch of resources. It would be better if we pooled connections across domains that resolve to the same IP address, so that if we have an idle connection to an IP address we can just use that instead of opening a new one.

This is similar to the "pconn-ip" hint listed at http://tools.ietf.org/html/draft-nottingham-http-browser-hints-03 but should always be safe as long as the connection in question has never been used. (Implementing this might also make it easier to implement the pconn-ip hint).
Whiteboard: [necko-would-take
Whiteboard: [necko-would-take → [necko-would-take]
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.