fullstorydev / fullstorydev/relay-core

Add request lifetime methods to traffic plugins

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
23
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Traffic plugins (e.g. monitor, logging, and relay) need to receive func calls at different stages of an incoming request. Update the `relay/plugins/traffic/TrafficPlugin` interface with those methods as well as a return value that indicates whether the request should be dropped, has been handled, etc.

We need to keep in mind that connections may be upgraded for WebSocket use, use one of the keep-alive tactics, or fail at any point.

This Issue is blocked by #1 and #2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.