Skip to content

Commit

Permalink
server: set a maximum request size
Browse files Browse the repository at this point in the history
that will allow larger payload sizes to be signed.  Sanic's default
maximum request size is 100MB.

Signed-off-by: Chad McQuillen <chad.mcquillen@lexmark.com>
  • Loading branch information
Lexmark-chad committed Nov 4, 2023
1 parent 514f4c1 commit 56c00e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions digsigserver/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# default response timeout
CodesignSanicDefaults = {
'RESPONSE_TIMEOUT': 600,
'REQUEST_MAX_SIZE': 600000000,
'L4T_TOOLS_BASE': '/opt/nvidia',
'IMX_CST_BASE': '/opt/NXP',
'KEYFILE_URI': 'file:///please/configure/this/path',
Expand Down

0 comments on commit 56c00e8

Please sign in to comment.