We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c02423 commit cbc52baCopy full SHA for cbc52ba
apps/webapp/server.ts
@@ -129,6 +129,10 @@ if (process.env.HTTP_SERVER_DISABLED !== "true") {
129
});
130
131
server.keepAliveTimeout = 65 * 1000;
132
+ // Mitigate against https://github.com/triggerdotdev/trigger.dev/security/dependabot/128
133
+ // by not allowing 2000+ headers to be sent and causing a DoS
134
+ // headers will instead be limited by the maxHeaderSize
135
+ server.maxHeadersCount = 0;
136
137
process.on("SIGTERM", () => {
138
server.close((err) => {
0 commit comments