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
F2898517: D9595.id32555.diff
Sat, Oct 5, 3:30 AM
F2898485: D9595.id32557.diff
Sat, Oct 5, 3:24 AM
Unknown Object (File)
Wed, Oct 2, 1:07 PM
Unknown Object (File)
Wed, Oct 2, 1:07 PM
Unknown Object (File)
Wed, Oct 2, 1:07 PM
Unknown Object (File)
Wed, Oct 2, 1:07 PM
Unknown Object (File)
Wed, Oct 2, 1:07 PM
Unknown Object (File)
Wed, Oct 2, 1:07 PM
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