Skip to content

[fix] uWSGI: increase buffer-size#1595

Merged
return42 merged 2 commits intosearxng:masterfrom
tiekoetter:fix-uwsgi-buffer-size
Jul 31, 2022
Merged

[fix] uWSGI: increase buffer-size#1595
return42 merged 2 commits intosearxng:masterfrom
tiekoetter:fix-uwsgi-buffer-size

Conversation

@tiekoetter
Copy link
Copy Markdown
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>
@return42 return42 force-pushed the fix-uwsgi-buffer-size branch from 004d5d7 to 48968bf Compare July 31, 2022 11:08
Copy link
Copy Markdown
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