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

Defer feeding XML data until we likely trigger an event #29

Merged
merged 1 commit into from
Mar 18, 2024

Commits on Mar 17, 2024

  1. Defer feeding XML data until we likely trigger an event

    Recent changes to expat, the XML parser behind the Python XMLPullParser,
    utilize a backoff when feeding the parser in small chunks which don't
    (yet) constitute something interesting. Unfortunately, this could result
    in the parser sitting on a completed payload waiting for more data
    before it attempts parsing.
    
    The safest mitigation I can find is to just wait until we get a '>'
    before feeding the parser, which should hopefully mean that we'll never
    trigger the backoff.
    cottsay committed Mar 17, 2024
    Configuration menu
    Copy the full SHA
    f134026 View commit details
    Browse the repository at this point in the history