| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| billing.go | ||
| override.go | ||
| override_test.go | ||
| relay_info.go | ||
| relay_info_test.go | ||
| relay_utils.go | ||
| request_conversion.go | ||
| stream_status.go | ||
| stream_status_test.go |
- Add StreamStatus type (relay/common) to track stream end reason (done/timeout/client_gone/scanner_error/eof/panic/ping_fail) and accumulate soft errors during streaming via sync.Once + sync.Mutex. - Add StreamResult (relay/helper) as the callback interface: adapters call sr.Error() for soft errors, sr.Stop() for fatal, sr.Done() for normal completion. No early-return problem — multiple errors per chunk are naturally supported. - Refactor StreamScannerHandler callback from func(string) bool to func(string, *StreamResult). All 9 channel adapters updated. - Write stream_status into log other JSON field (admin-only) with status ok/error, end_reason, error_count, and error messages. - Frontend: display stream status in log detail expansion for admins.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| billing.go | Loading commit data... | |
| override.go | Loading commit data... | |
| override_test.go | Loading commit data... | |
| relay_info.go | Loading commit data... | |
| relay_info_test.go | Loading commit data... | |
| relay_utils.go | Loading commit data... | |
| request_conversion.go | Loading commit data... | |
| stream_status.go | Loading commit data... | |
| stream_status_test.go | Loading commit data... |