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

V1.1 more post support #454

Merged
merged 5 commits into from
Jun 3, 2020

Conversation

jranson
Copy link
Member

@jranson jranson commented Jun 3, 2020

This patch adds additional post body support for Time Series requests, replaces buffers with readers for representations of those bodies, and uses bitmap comparisons where possible.

@@ -20,13 +20,45 @@ package methods
import "net/http"

const (
get uint16 = 1 << iota
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is cool!

pkg/proxy/origins/influxdb/handler_health.go Outdated Show resolved Hide resolved
@jranson jranson merged commit c11c41b into trickstercache:v1.1.x Jun 3, 2020
@jranson jranson deleted the v1.1-more-post-support branch June 4, 2020 00:35
jranson pushed a commit that referenced this pull request Jun 4, 2020
* fix nil resp panic, deadlock on cache marshal err (#453)

* additional http post support for prometheus and influxdb (#454)

* use methods bitmap when possible for performance

* relocate query param funcs to params pkg

* use Reader instead of Buffer for read-only bodies

* use correct super struct for http/2 compatibility

* replace static test certificates with generator

* ignore orphaned test cert artifacts

* disable failing test (`TestDeltaProxyCacheRequestRemoveStaleLRU`) w/ timeline for permanent fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants