Jira (PUP-8968) Add http_compression setting

4 views
Skip to first unread message

Josh Cooper (JIRA)

unread,
Jun 27, 2018, 1:57:02 AM6/27/18
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Improvement PUP-8968
Add http_compression setting
Issue Type: Improvement Improvement
Assignee: Unassigned
Created: 2018/06/26 10:56 PM
Priority: Normal Normal
Reporter: Josh Cooper

Puppetserver almost always compresses responses it sends, which makes it difficult to debug when using --http_debug. We should add an http_compression setting so that it's possible for the agent to only support Accept-Encoding: identity. Note we used to have a compression setting but it was removed awhile ago.

We could have http_debug disable compression automatically, but that means you wouldn't be able to debug in the same way that the agent normally runs, which seems bad, and could hide problems, e.g. a GET request could fail normally when using inflate but always succeed when using http_debug because compression is automagically disabled.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Rob Braden (JIRA)

unread,
Feb 3, 2020, 1:04:04 PM2/3/20
to puppe...@googlegroups.com
Rob Braden updated an issue
Change By: Rob Braden
Sprint: Coremunity Hopper

Josh Cooper (JIRA)

unread,
Feb 5, 2020, 12:45:04 PM2/5/20
to puppe...@googlegroups.com
Josh Cooper commented on Improvement PUP-8968
 
Re: Add http_compression setting

This ticket is blocked on PUP-7931 as we need to figure out if puppetserver can accept compressed *request* bodies.

We probably want 3 values, something like none, response, both, where none disables compression for requests and responses, response (the default and current behavior) accepts compressed response bodies, and both accepts compressed response bodies and sends compressed request bodies (in POST and PUT requests).

Josh Cooper (Jira)

unread,
Mar 2, 2020, 2:23:04 PM3/2/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Hopper
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages