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

RESOLVED FIXED

Status

()

enhancement
P2
normal
RESOLVED FIXED
9 months ago
3 months ago

People

(Reporter: mayhemer, Assigned: kershaw)

Tracking

(Blocks 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox64 affected)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 attachment, 2 obsolete attachments)

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
You need to log in before you can comment on or make changes to this bug.