Closed Bug 1497235 Opened 6 years ago Closed 6 years ago

[socket-process] Pass class-of-service and request-context to http trans child

Categories

(Core :: Networking: HTTP, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
Tracking Status
firefox64 --- affected

People

(Reporter: mayhemer, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(3 obsolete files)

Priority: -- → P2
Forgot to mention that it would be good to pass this through the Init() method, if possible. Not sure we need setters (and hence also messages) at all, please check.
Whiteboard: [necko-triaged]
P3, since this project is suspended.
Priority: P2 → P3
Priority: P3 → P2
A straightforward patch. 1. Query nsIHttpChannel and get reuqestContextID in HttpTransactionParent. 2. Pass it through the Init() method. 3. Create EnsureRequestContext again in HttpTransactionChild and pass it to the real transaction.
1. Add proxy info in HttpConnectionInfoCloneArgs 2. Add |mIPCOpen| in HttpTransactionParent
Assignee: nobody → kershaw

We need to pass class-of-service also.

Several throttling tests are disable before.
Not sure if passing the cos works or not
https://hg.mozilla.org/projects/larch/file/322a2074e4f0/netwerk/test/unit/xpcshell.ini#l399

Don't forget to file a serializing nsProxyInfo bug

Simply pass classOfService to socket process via Init() message.

Attachment #9027000 - Attachment is obsolete: true
Attachment #9026999 - Attachment is obsolete: true
Attachment #9038835 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: