Actions
Bug #24187
closedkatello paginates call when fetching upstream subs, leading to possible tomcat error
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
If you add "per_page" to the parameter list when calling upstream candlepin, a set of links will be sent back in the response header. If your URL is longer than a couple of KB, these links may exceed 8KB in total. Once this happens, tomcat will refuse to send the reply since the HTTP header is bigger than 8KB.
There are a few ways to address this, but the easiest is to simply not paginate this particular API call to upstream candlepin. We already send a subset of pool IDs up, based on which page is being displayed to the user.
Actions