masaori335 opened a new pull request, #13231:
URL: https://github.com/apache/trafficserver/pull/13231

   # Motivation
   
   In version 2, a segment header carries the field *symbols* 
(``fmt_fieldlist``,
   e.g. ``"chi cqu pssc"``) and a printf-style *template* (``fmt_printf``) but
   **not** the field types. To decode an entry a reader had to already know the
   type of each symbol, because the value encodings are only self-delimiting 
once
   the type is known (``IP`` is variable length, for example). That coupled 
every
   out-of-tree parser to the exact ATS build that wrote the log.
   
   Version 3 adds one thing: a per-segment **field-type schema** that lists the
   wire type of every field, in field order. Decoding then needs only the 
symbols
   (as keys) and the schema (for types).
   
   ----
   
   Depends on #13223


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to