Skip to content

Commit

Permalink
fixup! JSRPC: Add suport for "loopback socket" during workerd test.
Browse files Browse the repository at this point in the history
  • Loading branch information
kentonv committed Mar 5, 2024
1 parent 5c533f5 commit 6719d3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/workerd/server/workerd.c++
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ private:
kj::Own<kj::Network> ownInner;
kj::AsyncIoProvider& ioProvider KJ_UNUSED;
bool rootLoopbackEnabled = false;

// Reference to `rootLoopbackEnabled` of the root NetworkWithLoopback. All descendants
// (created using `restrictPeers()` will share the same flag value.
bool& loopbackEnabled;

using ConnectionQueue = kj::ProducerConsumerQueue<kj::Own<kj::AsyncIoStream>>;
Expand Down

0 comments on commit 6719d3d

Please sign in to comment.