Commit 8dc103eb authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 60659055
......@@ -50,12 +50,12 @@ struct rxPkt {
// non-trivial copy. Note: we anyway need to limit rx line length to
// avoid DoS, but just for DoS the limit would be higher.
uint16_t datalen;
char data[128 - sizeof(StreamID) - sizeof(uint16_t)];
char data[256 - sizeof(StreamID) - sizeof(uint16_t)];
error from_string(const string& rx);
string to_string() const;
};
static_assert(sizeof(rxPkt) == 128);
static_assert(sizeof(rxPkt) == 256); // NOTE 128 is too low for long error message
// WatchLink represents /head/watch link opened on wcfs.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment