summaryrefslogtreecommitdiff
path: root/src/network/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/protocol.h')
-rw-r--r--src/network/protocol.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/network/protocol.h b/src/network/protocol.h
index dda2ffb..3d7c073 100644
--- a/src/network/protocol.h
+++ b/src/network/protocol.h
@@ -54,7 +54,6 @@ public:
struct Cookie { vector<uint8_t> value; };
using ChannelState = variant<monostate,
- Cookie,
Stored<ChannelRequest>,
shared_ptr<struct WaitingRef>,
Stored<ChannelAccept>,
@@ -115,9 +114,9 @@ public:
void trySendOutQueue();
private:
- static optional<Header> receive(vector<uint8_t> & buf,
- Channel * channel,
- const PartialStorage & st);
+ static optional<Header> parsePacket(vector<uint8_t> & buf,
+ Channel * channel, const PartialStorage & st,
+ bool & secure);
unique_ptr<ConnectionPriv> p;
};