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

[fix] uWSGI: increase buffer-size #1595

Merged
merged 2 commits into from
Jul 31, 2022

Conversation

tiekoetter
Copy link
Member

What does this PR do?

4096 as buffer-size is too small and will result in the preference urls not working.

How to test this PR locally?

  1. Install with uWSGI
  2. Try importing the "Search URL of the currently saved preferences" and/or "URL to restore your preferences in another browser" URL.

@tiekoetter tiekoetter requested a review from return42 July 31, 2022 09:44
tiekoetter and others added 2 commits July 31, 2022 12:40
Increase max size of a request, by default it is 4k [1].  4096 as buffer-size is
too small and will result in the preference urls not working.

[1] https://uwsgi-docs.readthedocs.io/en/latest/Options.html#buffer-size
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Copy link
Member

@return42 return42 left a comment

Choose a reason for hiding this comment

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

Thanks a lot / I tested this patch on my instance / FYI:

  • I fixed the :socket templates also
  • I added a documentation on top / see: 48968bf

@return42 return42 merged commit 1fbb514 into searxng:master Jul 31, 2022
@tiekoetter tiekoetter deleted the fix-uwsgi-buffer-size branch July 31, 2022 15:36
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