Closed Bug 1754743 Opened 4 years ago Closed 4 years ago

Simplify SpdyConnectTransaction

Categories

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

task

Tracking

()

RESOLVED INVALID

People

(Reporter: dragana, Assigned: dragana)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 obsolete file)

Currently SpdyConnectTransaction creates CONNECT headers and drives the CONNECT request. A nsHttpConnection is created when a response is received or an error happens. Also, if the CONNECT request was successful, SpdyConnectTransaction also adds TLSFilterTransaction.
nsHttpConnection already can create a CONNECT request and can drive it. Also, it has the capabilities to create TLSFilterTransaction if need. This is already used for proxying HTTP and HTTPS requests over a secure HTTP/1.1 proxy.
We could simplify SpdyConnectTransaction and let it be just a fake socket and let nsHttpConnection drive CONNECT and TLSFilterTransaction.

Assignee: nobody → dd.mozilla
Status: NEW → ASSIGNED
No longer blocks: necko-proxy-tech-debt
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Attachment #9266136 - 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: