Page MenuHomePhabricator

[Tunnelbroker] implement sending response after session creation attempt
ClosedPublic

Authored by kamil on Oct 25 2023, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 9, 2:21 PM
Unknown Object (File)
Sat, Nov 9, 9:53 AM
Unknown Object (File)
Sat, Nov 9, 9:53 AM
Unknown Object (File)
Sat, Nov 9, 9:53 AM
Unknown Object (File)
Sat, Nov 9, 9:43 AM
Unknown Object (File)
Sat, Nov 9, 5:30 AM
Unknown Object (File)
Sat, Nov 9, 4:58 AM
Unknown Object (File)
Sat, Nov 9, 4:45 AM
Subscribers

Details

Summary

This code makes it possible to send a response after session init and makes changes in tests to adjust to the new flow.

Depends on D9594

Test Plan

Tunnelbroker tests (most important are test_tunnelbroker_invalid_auth and test_tunnelbroker_valid_auth).

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Oct 25 2023, 5:19 AM
michal added inline comments.
services/tunnelbroker/src/websockets/mod.rs
193 ↗(On Diff #32393)

Not sure if you agree but I would prefer to call it the same as in the argument to the initiate_session so it's more clearer that it's the same object.

This revision is now accepted and ready to land.Oct 30 2023, 5:50 AM