Lower maximum message length bytes in EPP server (#3207)

We don't need to accept anything anywhere close to this big, and we
shouldn't risk large messages causing OOMs

D.1 number 2

b/535251458
This commit is contained in:
gbrodman
2026-08-13 16:46:50 +00:00
committed by GitHub
parent 6123f10cdf
commit c4c76df81b
@@ -61,13 +61,11 @@ epp:
#
# The first 4 bytes in a message is the total length of message, in bytes.
#
# We accept a message up to 1 GB, which should be plentiful, if not over the
# top. In fact, we should probably limit this to a more reasonable number, as
# a 1 GB message will likely cause the proxy to go out of memory.
# We accept a message up to 10 MB, which should be plentiful.
#
# See also: RFC 5734 4 Data Unit Format
# (https://tools.ietf.org/html/rfc5734#section-4).
maxMessageLengthBytes: 1073741824
maxMessageLengthBytes: 10485760
# Length of the header field in bytes.
#