Unable to start Flood on a unix socket
Scrxtchy opened this issue · 0 comments
Scrxtchy commented
Type: Bug Report
- Try to follow the update procedure described in the README and try again before opening this issue.
Your Environment
- Version used:
- Commit ID 1192e14
- Environment name and version:
- Node.js version v20.6.1
- npm version 9.8.1
- Operating system and version: Gentoo Base System release 2.14
Summary
Type checking and strict objects forbids my ability to start Flood on a unix socket on existing code
Expected Behavior
I should be able to set the port value to a String to start a listen server on a unix socket by passing a string into a server.listen() param via expressjs
Current Behavior
Flood fails to start, demanding a port to be a number value
Possible Solution
Adjust the config type checking to allow strings in the port value, and the host value to be optional.
Steps to Reproduce
- start flood with a path argument into
--port
Context
I would like to remove the need to run Flood on a unix domain socket behind an nginx reverse proxy, reducing the overhead that is involved with TCP