Update EmbeddedSVCHttpTransport to record losses for HTTP-level send failures where the platform transport exposes enough information. Request construction/write/submit/read failures should be recorded as send_error; HTTP 413 and other non-429 4xx/5xx responses should also be recorded as send_error; 429 should not record a client-report loss for that response.
Scope
- Embedded HTTP send failures record losses for the attempted envelope.
413 responses record send_error losses and keep the existing debug message.
- Other non-
429 4xx/5xx responses record send_error losses when status is available.
2xx responses and 429 responses do not record send losses.
Update
EmbeddedSVCHttpTransportto record losses for HTTP-level send failures where the platform transport exposes enough information. Request construction/write/submit/read failures should be recorded assend_error; HTTP413and other non-4294xx/5xxresponses should also be recorded assend_error;429should not record a client-report loss for that response.Scope
413responses recordsend_errorlosses and keep the existing debug message.4294xx/5xxresponses recordsend_errorlosses when status is available.2xxresponses and429responses do not record send losses.