FR: ProxyReady Event?
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 752
- Forks
- 307
- Avg merge
- 15h 48m
- Merged PRs (30d)
- 7
Description
In our network, I need to know not if a proxy has started (as in the java process for a given proxy has started), but I need to know if a proxy is ready to listen.
Bungee writes a "Listening on xyz" messages into the log. If Waterfall is ready to accept connections, it should invoke a ProxyReady event, so I could implement this in a plugin.
Are there potential other ways to wait for a proxy until its ready?
Dont want to rely on testing against open TCP sockets or reading log messages until "Listening on" comes up.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the proxy startup path that produces the "Listening on xyz" log message and reviewing how existing proxy lifecycle events are exposed to plugins. Determine when the proxy is actually ready to accept connections, then define the event contract and a completion check that avoids socket polling and log parsing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100