Clone header value before modifying self to avoid holding RwLockReadGuard while mutating buffer and state fields in both FlacClientStream and IcyClientStream poll_read() implementations.
Clone header value before modifying self to avoid holding RwLockReadGuard while mutating buffer and state fields in both FlacClientStream and IcyClientStream poll_read() implementations.