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 21, 2023
1 parent 357e105 commit c003eba
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 c003eba

Please sign in to comment.