mirror of
https://github.com/go-gost/x.git
synced 2026-10-20 00:17:32 +00:00
- Replace recursive b.Read(p) with for loop to prevent O(N) stack growth on consecutively filtered SSE events - Skip Pattern gating for end-of-stream signal so Rewriter plugins with match patterns still receive the lifecycle signal - Cache sid once in rewriteBody struct instead of extracting from context on every Read call - Add event_index to end-phase metadata for consistency with start/event phases