Project

General

Profile

Actions

Task #146

closed

Find a solution to compute the size of serialized data

Added by Greg Burri over 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
10/29/2009
Due date:
% Done:

0%

Estimated time:
keywords:

protobuf serialize size

Platform:

Description

When sending the result after a search (see message FindResult here Protocol_core-core) the message mustn't exceed 65'507 bytes1. This limit come from the maximum data size for an UDP datagram.
Thus the result must be cut in many datagram if it exceed the maximum size.

1 source:/application/Protos/core_protocol.proto#L51

Actions

Also available in: Atom PDF