Page MenuHomePhabricator

[tunnelbroker] Refactor Websocket session init
ClosedPublic

Authored by bartek on Oct 3 2024, 1:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 7, 7:43 PM
Unknown Object (File)
Wed, Apr 2, 3:21 AM
Unknown Object (File)
Mar 11 2025, 3:55 PM
Unknown Object (File)
Mar 11 2025, 3:53 PM
Unknown Object (File)
Mar 11 2025, 3:41 PM
Unknown Object (File)
Mar 11 2025, 3:38 PM
Unknown Object (File)
Mar 11 2025, 3:37 PM
Unknown Object (File)
Mar 3 2025, 6:18 AM
Subscribers

Details

Summary

Separated AMQP and DeviceInfo/auth logic from initiate_session(). Moved channel creation deeper into WebsocketSession::init_amqp()

Depends on D13604

Test Plan

cargo build

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek edited the test plan for this revision. (Show Details)
bartek edited the summary of this revision. (Show Details)
bartek published this revision for review.Oct 4 2024, 8:38 AM
kamil accepted this revision.EditedOct 7 2024, 2:04 AM

Looks a lot cleaner now

services/tunnelbroker/src/websockets/session.rs
204 ↗(On Diff #44902)

I would prefer something like get_device_info_from_frame

This revision is now accepted and ready to land.Oct 7 2024, 2:04 AM