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

Add request lifetime methods to traffic plugins #1

Open
TrevorFSmith opened this issue Dec 19, 2019 · 0 comments
Open

Add request lifetime methods to traffic plugins #1

TrevorFSmith opened this issue Dec 19, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@TrevorFSmith
Copy link
Contributor

TrevorFSmith commented Dec 19, 2019

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

@TrevorFSmith TrevorFSmith added the enhancement New feature or request label Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant