is_send_frame_valid Function

public pure function is_send_frame_valid(n) result(ok)

Check that a send-side frame field (header or payload) can be represented by the u32 wire length prefix. Deliberately NOT symmetric with =is_frame_len_valid=: the 64 MiB inbound cap guards against an untrusted peer's request sizes, while outbound frames are sized by the worker itself and legitimately carry bulk COPY_SOLUTION replies far beyond 64 MiB (audit 2026-07-06 N1).

Arguments

Type IntentOptional Attributes Name
integer(kind=int64), intent(in) :: n

Return Value logical