diff --git a/benchmarks/fast-proxy.js b/benchmarks/fast-proxy.js deleted file mode 100644 index cbc58ae..0000000 --- a/benchmarks/fast-proxy.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict' - -const Fastify = require('fastify') -const proxyCreator = require('fast-proxy') - -async function startProxy (base) { - const server = Fastify() - let undici = false - - if (process.env.UNDICI) { - undici = { - connections: 100, - pipelining: 10 - } - } - - const { proxy } = proxyCreator({ base, undici, http2: !!process.env.HTTP2 }) - server.get('/', (request, reply) => { - proxy(request.raw, reply.raw, request.url, {}) - }) - - await server.listen({ port: 3000 }) - return server -} - -startProxy('http://localhost:3001') diff --git a/package.json b/package.json index 32f6af3..a72ca94 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,6 @@ "eslint": "^9.39.1", "express": "^5.1.0", "express-http-proxy": "^2.1.2", - "fast-proxy": "^2.2.0", "fastify": "^5.6.2", "http-errors": "^2.0.0", "http-proxy": "^1.18.1",