Alexandros Kosiaris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/220140

Change subject: url_downloader: Increase request body/header size
......................................................................

url_downloader: Increase request body/header size

url_downloader is used by zotero/citoid to get generate citations.
Unfortunately elsevier/sciencedirect is issuing request with a rather
large request header size and hits the limit in url_downloader. Increase
the limit from 1KB to 8KB.

Bug: T97042
Change-Id: I6096c80eda4ffce37b33aa251a3941609728e77b
---
M templates/url_downloader/squid.conf.erb
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/40/220140/1

diff --git a/templates/url_downloader/squid.conf.erb 
b/templates/url_downloader/squid.conf.erb
index 6a9c404..6e53ba8 100644
--- a/templates/url_downloader/squid.conf.erb
+++ b/templates/url_downloader/squid.conf.erb
@@ -13,8 +13,8 @@
 access_log /var/log/squid3/access.log squid
 log_mime_hdrs on
 hosts_file /etc/hosts
-request_header_max_size 1 KB
-request_body_max_size 1 KB
+request_header_max_size 8 KB
+request_body_max_size 8 KB
 refresh_pattern ^ftp:          1440    20%     10080
 refresh_pattern ^gopher:       1440    0%      1440
 refresh_pattern .              0       20%     4320

-- 
To view, visit https://gerrit.wikimedia.org/r/220140
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6096c80eda4ffce37b33aa251a3941609728e77b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to