Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reapply streaming #434

Merged
merged 5 commits into from
Oct 31, 2024
Merged

Reapply streaming #434

merged 5 commits into from
Oct 31, 2024

Conversation

nichochar
Copy link
Contributor

Fixed streaming.

There were a few bugs with the algorithm:

  • not picking up content for tags that don't use CDATA
  • undefined behavior if tags close and open in the same chunk
  • bad carrying over of the buffer when the cdata flushes

It passes tests and a bunch of QA, but wouldn't be surprised if it still has issues, so let's keep an eye out.

benjreinhart and others added 5 commits October 31, 2024 14:22
* Streaming WIP

* More wip

* Fix up the streaming parser and the tests

* Remove extra debug log

* Remove unused file

* Fix more parser bugs

* Hook up frontend

---------

Co-authored-by: Nicholas Charriere <[email protected]>
@nichochar nichochar merged commit 51d5265 into main Oct 31, 2024
2 checks passed
@nichochar nichochar deleted the reapply-streaming branch October 31, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants