aboutsummaryrefslogtreecommitdiffstats
path: root/serve/crypto.c
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-28 04:31:43 +0100
committereunhhu <[email protected]>2026-09-28 04:31:43 +0100
commit92290c5102e7fbb1248a0f215b1099de4d00c143 (patch)
treeaecb1d89a0468fc095f599cf8374f57642f71546 /serve/crypto.c
parenteed3b0d022a5145be06d87140a747da1a82f0f9d (diff)
downloadpure-92290c5102e7fbb1248a0f215b1099de4d00c143.tar.gz
pure-92290c5102e7fbb1248a0f215b1099de4d00c143.zip
Take a message's rows over HTTP
A rows field's JSON value is an array of objects naming the record's fields (numbers, strings; a field left out takes its default). The connection thread encodes them as the list's stored form, which may be longer than the JSON, grows the request's input by that much (pure_runtime_grow: charged to the payload budget as admission charges an input, 503 payload_budget when it does not fit) and places them after the body, so the owner still applies a message it need not parse. A message whose only variable field is rows takes a body that is not JSON as those rows in their stored form: a bulk insert without JSON. An API's answer (--reply) gives rows the same way. A delivered batch holds no rows. server_rows loads 30,000 stock rows in one JSON request (some 250,000 rows a second, against 6,500 with a request a row) and 20,000 more as bytes, refuses a load with a key already there whole (409 exists), then checks 400 random orders against a model (294 applied, 106 refused with none of their rows applied), texts with escapes and Korean, a walk that removes, and a restart that keeps every state and no rows. The format's document (008) describes walks, rows fields and lists of rows, and OUTER_ROW.
Diffstat (limited to 'serve/crypto.c')
0 files changed, 0 insertions, 0 deletions