r3labs / sse

Server Sent Events server and client for Golang
Mozilla Public License 2.0
870 stars 180 forks source link

fix(perf): scan only new data while looking for end of event tokens #173

Open FrankSpitulski opened 1 year ago

FrankSpitulski commented 1 year ago

this prevents repeatedly reading the same data looking for new lines if a large event from a slow reader is being read