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

Adds a filter that guarantees to return batches ending with a line br… #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edim24
Copy link
Contributor

@edim24 edim24 commented Dec 23, 2024

In case of very large robots.txt files (https://edu-medic.ru/robots.txt) standard batch size (4096 bytes) can lead to incorrect tree building. Because line can be divided at random position.

At the very beginning of filters chain new filter was added. It ensures, that all next filters will receive lines ending with EOL symbol.

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.

1 participant