Skip to content

Limit the name of the gremlin request less than 256 bytes - #313

Merged
javeme merged 1 commit into
masterfrom
gremlin-name
Jan 7, 2019
Merged

Limit the name of the gremlin request less than 256 bytes#313
javeme merged 1 commit into
masterfrom
gremlin-name

Conversation

@Linary

@Linary Linary commented Jan 3, 2019

Copy link
Copy Markdown
Contributor

Change-Id: I46ccdffd92087b50676e1612226424208f66dbee

javeme
javeme previously requested changes Jan 3, 2019
Comment thread hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/GremlinAPI.java Outdated
Comment thread hugegraph-api/src/main/java/com/baidu/hugegraph/api/job/GremlinAPI.java Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may cause encoding exception if the end byte is truncated
see: decoder.onMalformedInput(CodingErrorAction.IGNORE);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just catch line 175

Change-Id: I46ccdffd92087b50676e1612226424208f66dbee
@javeme
javeme merged commit 38da625 into master Jan 7, 2019
@javeme
javeme deleted the gremlin-name branch January 7, 2019 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants