Page MenuHomePhabricator

[Tunnelbroker] introduce function to receive message and handle `MessageToDevice` type
ClosedPublic

Authored by kamil on Oct 24 2023, 10:06 AM.
Tags
None
Referenced Files
F3251112: D9574.id32343.diff
Fri, Nov 15, 5:20 PM
Unknown Object (File)
Sat, Nov 9, 9:53 AM
Unknown Object (File)
Sat, Nov 9, 8:49 AM
Unknown Object (File)
Sat, Nov 9, 8:39 AM
Unknown Object (File)
Sat, Nov 9, 4:45 AM
Unknown Object (File)
Mon, Nov 4, 12:34 AM
Unknown Object (File)
Sun, Oct 20, 12:38 AM
Unknown Object (File)
Fri, Oct 18, 9:02 PM
Subscribers

Details

Summary

Extracting logic to function to make writing tests simpler.

Depends on D9573

Test Plan

Runn All Tunnelbroker tests

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 24 2023, 11:19 AM
bartek added inline comments.
services/commtest/src/tunnelbroker/socket.rs
80–87 ↗(On Diff #32343)

Same principle as in JS ;)

This revision is now accepted and ready to land.Oct 25 2023, 3:47 AM

early exit

services/commtest/src/tunnelbroker/socket.rs
80–87 ↗(On Diff #32343)

right! fair point