- Improve documentation.
- Improve documentation.
- Improve test.
- Improve examples.
- Emit a
ready
event on theServiceProxy
when its worker threads have spawned.
ServiceProxy
is aEventEmitter
.- Refactor Socketnaut to use the Streams Logger.
- Refactor how the
Agent
pool is managed in order to improve performance. - Use pipe pattern in place of
data
events.
- Update image.
- Implement a graceful shutdown method on the
ServiceProxy
.
- Improve documentation.
- Improve naming.
- Improve documentation.
- Pause and resume reading data after the
data
handler is attached.
- Harmonize handler attachment.
- Improve documentation.
- Remove default server.
- Improve documentation.
- Improve logging.
- Improve example.
- Add
workerCount
parameter to theServiceProxy
constructor. The argument specifies the number of worker threads to be spawned when Socketnaut starts. This setting will overrideminWorkers
andmaxWorkers
.
- Remove
workersCheckingInterval
default. - Update documentation in order to reflect additions and changes.
- Improve the documentation.
- Check for nullish Agent. This fixes the case where minWorkers is set to 0.
- Add Koa example.
- Improve the documentation and examples.
- Discard closed
Socket
s. If aSocket
is closed by anotherServer
handler, Socketnaut will immediately discard it. - Improve documentation.
- Improve documentation.
- Add the "A TLS Proxy and an HTTP Redirect" example.
- Improve documentation.
- Add support for TLS Proxy Servers.
- Add
ProxySocketAddressInfo
interface. - Add
requestProxySocketAddressInfo
method to theServiceAgent
class. This method will return aPromise
that will resolve to asocketnaut.ProxySocketAddressInfo
object that describes the proxy socket tuple. Please see the README.md for detail on how to call the method and its return value. - Add documentation relevant to the additions to the API.
- Make linting more specific.
- Improve documentation.
- Depend on Memoir ^2.0.0. This change can improve Socketnaut's performance, depending on how the log Level is set. Please see the documentation for how to use Memoir's 2.0.0 LevelLogger.
- Add
close
handler before attempting connection.
- CHANGELOG.md
- This project adheres to Semantic Versioning.