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

cups/http-addr.c: Set listen backlog size to INT_MAX #626

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

vliaskov
Copy link
Contributor

@vliaskov vliaskov commented Mar 1, 2023

Use a listen queue size of INT_MAX, which should default to the maximum supported queue size on the system.

This avoids the problem of the listening backlog queue getting full when there are too many requests at the same time. The problem was observed with the previous backlog size (128) by customers when submitting large batches of print jobs, resulting in some jobs getting lost.

…ing#308)

Use a listen queue size of INT_MAX, which should default to the maximum
supported queue size on the system.

This avoids the problem of the listening backlog queue getting full when
there are too many requests at the same time. The problem was observed
with the previous backlog size (128) by customers when submitting large
batches of print jobs, resulting in some jobs getting lost.

Signed-off-by: Vasilis Liaskovitis <vliaskovitis@suse.com>
Copy link
Member

@zdohnal zdohnal left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you for PR! I'll merge it once Github Actions pass.

@zdohnal zdohnal merged commit 0458865 into OpenPrinting:master Mar 1, 2023
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