|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
draft-ietf-moq-transport-19 SS10.8 REQUEST_ERROR. More...
#include <moqctl.h>
Data Fields | |
| u64 | error_code |
| Error Code (MOQCTL_ERR_*); normalize received codes with moqctl_known_request_error. | |
| u64 | retry_interval |
| Retry Interval: 0 means do not retry, otherwise the minimum wait before retrying in milliseconds plus one. | |
| moqctl_reason | reason |
| Reason Phrase (view, untrusted). | |
| int | has_redirect |
| 1 when redirect is present (error_code == MOQCTL_ERR_REDIRECT). | |
| moqctl_redirect | redirect |
| Redirect target; valid iff has_redirect. | |
draft-ietf-moq-transport-19 SS10.8 REQUEST_ERROR.
has_redirect is only legal when error_code == MOQCTL_ERR_REDIRECT (checked on encode/decode: a Redirect present with any other code, or absent with REDIRECT, is a VIOLATION since it desyncs Length from Body).