Skip to content

Commit

Permalink
fix(api): decrease maxHeaderSize
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Dec 5, 2024
1 parent b35d47d commit 166e69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const server = serve({
hostname: config.listenInaddrAny ? '::' : '127.0.0.1',
port,
serverOptions: {
maxHeaderSize: 1024 * 64,
maxHeaderSize: 1024 * 32,
},
});

Expand Down

0 comments on commit 166e69b

Please sign in to comment.