Project

General

Profile

« Previous | Next » 

Revision bf842cc2

Added by Chris Duryee almost 6 years ago

Fixes #24187 - do not paginate when calling upstream candlepin

Previously, calls to upstream candlepin with pool ID lists could
include `per_page`, which makes tomcat paginate results. However, the
pagination will add an HTTP header with URL links for the next and
previous data sets.

If the URL is more than a couple of KB, this header can exceed 8KB
which causes tomcat to refuse to return the result. This is
intentional, since not all services support headers larger than 8KB.

This patch removes the pagination request from the upstream candlepin
call for pools if the pool IDs are being sent through. We do not need
to do this since the call is already limited to just the pools
displayed on the page.

  • added
  • modified
  • copied
  • renamed
  • deleted