You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2017/07/25 22:15:00 UTC
[jira] [Updated] (TINKERPOP-1737) Validate and throw an exception
when maxContentLength overflows
[ https://issues.apache.org/jira/browse/TINKERPOP-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeremy Hanna updated TINKERPOP-1737:
------------------------------------
Priority: Trivial (was: Major)
> Validate and throw an exception when maxContentLength overflows
> ---------------------------------------------------------------
>
> Key: TINKERPOP-1737
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1737
> Project: TinkerPop
> Issue Type: Improvement
> Components: server
> Reporter: Jeremy Hanna
> Priority: Trivial
>
> If you set the {maxContentLength} to higher than {Integer.MAX_VALUE} it won't error out but the gremlin console is broken. We should probably do some sort of validation on startup and then fail fast with an appropriate error message instead.
> This can happen if people don't want to worry about the value and set it arbitrarily high and don't know that it's an integer.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)