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

Turn on decompression support in Vert.x HTTP server (gzip and deflate as of Netty 4.1.31) #1284

Merged
merged 1 commit into from
May 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
import lombok.Data;
import lombok.NoArgsConstructor;
import org.prebid.server.analytics.AnalyticsReporterDelegator;
import org.prebid.server.auction.requestfactory.AmpRequestFactory;
import org.prebid.server.auction.AmpResponsePostProcessor;
import org.prebid.server.auction.requestfactory.AuctionRequestFactory;
import org.prebid.server.auction.ExchangeService;
import org.prebid.server.auction.PrivacyEnforcementService;
import org.prebid.server.auction.requestfactory.VideoRequestFactory;
import org.prebid.server.auction.VideoResponseFactory;
import org.prebid.server.auction.requestfactory.AmpRequestFactory;
import org.prebid.server.auction.requestfactory.AuctionRequestFactory;
import org.prebid.server.auction.requestfactory.VideoRequestFactory;
import org.prebid.server.bidder.BidderCatalog;
import org.prebid.server.cache.CacheService;
import org.prebid.server.cookie.UidsCookieService;
Expand Down Expand Up @@ -118,6 +118,7 @@ HttpServerOptions httpServerOptions(@Value("${http.max-headers-size}") int maxHe
.setHandle100ContinueAutomatically(true)
.setMaxHeaderSize(maxHeaderSize)
.setCompressionSupported(true)
.setDecompressionSupported(true)
.setIdleTimeout(10); // kick off long processing requests

if (ssl) {
Expand Down