[ 
https://issues.apache.org/jira/browse/TINKERPOP-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Hanna updated TINKERPOP-1737:
------------------------------------
    Description: 
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.

  was:
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.


> 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)

Reply via email to