Closed
Bug 1052909
Opened 11 years ago
Closed 2 years ago
Remove pref and code that enables websocket redirects
Categories
(Core :: Networking: WebSockets, task, P3)
Core
Networking: WebSockets
Tracking
()
RESOLVED
FIXED
120 Branch
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: tanvi, Assigned: gregp)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [necko-backlog])
Attachments
(1 file)
network.websocket.auto-follow-http-redirect is set to false by default. A search through the addon mxr doesn't highlight any addons that set this pref to true:
https://mxr.mozilla.org/addons/search?string=auto-follow-http-redirects
We should remove this preference and remove the code that handles websocket redirects.
Except - we should keep the code that allows for websockets to be upgraded from ws:// to wss://.
http://mxr.mozilla.org/mozilla-central/source/netwerk/protocol/websocket/WebSocketChannel.cpp#2478
Comment 1•11 years ago
|
||
Patrick:
Got any objections to removing support for websocket redirects? The simplest patch would be to remove the pref but keep the existing code in place (i.e. still have mAutoFollowRedirects, but always keep it == 0) in case we want to support redirects again someday.
Also we're not talking about changing the special case that allows redirecting from ws: -> wss: during HTTPS-everywhere.
Flags: needinfo?(mcmanus)
Comment 2•11 years ago
|
||
that code can all be removed - it was written like that when it wasn't clear which way the RFC would go.
Flags: needinfo?(mcmanus)
| Reporter | ||
Comment 3•11 years ago
|
||
Anyone want to take this bug?
| Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Tanvi Vyas [:tanvi] from comment #3)
> Anyone want to take this bug?
Perhaps jduell can find an owner?
Flags: needinfo?(jduell.mcbugs)
Comment 5•11 years ago
|
||
It's on my list of smallish/less-important bugs to fix.
Flags: needinfo?(jduell.mcbugs)
| Reporter | ||
Comment 6•11 years ago
|
||
Any update on removing this code?
Comment 10•9 years ago
|
||
Yeah ... unlikely that I'll get to this, especially considering that it's been in my queue for a year. Unassigning myself...
Assignee: sworkman → nobody
Flags: needinfo?(sworkman)
Comment 11•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 12•8 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Updated•3 years ago
|
Severity: normal → S3
| Assignee | ||
Comment 13•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → gregp
Status: NEW → ASSIGNED
Comment 14•2 years ago
|
||
Pushed by gp3033@protonmail.com:
https://hg.mozilla.org/integration/autoland/rev/599dc5d67521
Remove network.websocket.auto-follow-http-redirects pref r=necko-reviewers,kershaw
Comment 15•2 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•