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

New option: ignore_incomplete_reads #787

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

wfrisch
Copy link
Contributor

@wfrisch wfrisch commented Jan 24, 2024

Fixes #725

Copy link
Owner

@thp thp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to update manpages (will be done on release), but please add an entry to CHANGELOG.md describing the changes.

Sometimes web servers return incomplete responses, triggering an
`InvalidChunkLength` exception in urlwatch. Enable this job option to
ignore these errors.

thp#725
@wfrisch
Copy link
Contributor Author

wfrisch commented Feb 14, 2024

No need to update manpages (will be done on release), but please add an entry to CHANGELOG.md describing the changes.

Thanks for the review. It should be OK now.

@wfrisch
Copy link
Contributor Author

wfrisch commented Feb 14, 2024

For completeness' sake, here's a deliberately broken web server that emulates this error class:
https://gist.github.com/wfrisch/63d1163645fa01e3ab1296e752769359

Copy link
Owner

@thp thp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@thp thp merged commit 30653a3 into thp:master Feb 15, 2024
5 checks passed
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.

How to handle errors like "Connection broken: IncompleteRead"
2 participants