
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
Man-in-the-middle proxy for HTTPS with SSL verification and connection pooling/keep-alive.
Man-in-the-middle proxy for HTTPS with SSL verification and connection pooling/keep-alive.
$ npm -g install mallorca
$ mallorca \
--cert /etc/ssl/certs/your-mallorca-proxy.crt \
--key /etc/ssl/certs/your-mallorca-proxy.key \
--port 5000 \
--maxsockets 20 \
--keepalive-socket-count 10 \
--pidfile /var/run/mallorca.pid \
--cacert /etc/ssl/certs/ca-root-for-externalsite.pem \
www.someexternalsite.com
Ensure you have the following dependencies installed and in your PATH:
Then, you should be able to run the tests:
$ npm test
Finally, to launch Mallorca:
$ ./bin/mallorca YOUR OPTIONS HERE...
The following routes are reserved for the operation of the Mallorca proxy, and are not proxied to the upstream web server.
GET /_mallorca/heartbeat
Indicates whether Mallorca can consistently maintain its connection to the upstream server. A response code of 200 indicates a healthy connection, 503 indicates connection problems.
PUT /_mallorca/connection_pool
Enables changing connection pool settings without having to restart Mallorca. Accepts a payload of either a JSON object or form encoded key-values:
max - Maximum number of connections to the upstream server
keepalive - Number of connections to keep open when no more requests are queued
GET /_mallorca/uncaught_error
Simulates an internal error within the Mallorca proxy, does not respond. You must have set the allow-error-routes command line switch to use this route.
GET /_mallorca/stat
Provides statistics for the connection pool and latencies of recent requests to the upstream server.
git checkout -b my-new-feature)git commit -am 'Added some feature')git push origin my-new-feature)FAQs
Man-in-the-middle proxy for HTTPS with SSL verification and connection pooling/keep-alive.
We found that mallorca demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.