Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent recursion from Response.build() with dependency (Fixes #856) #860

Conversation

HeartSaVioR
Copy link
Contributor

  • Before patch it, users could experience StackOverflowError
    • when there's multi in Pipeline, which has massive requests
  • Change Response.build()'s behavior: now it can be successful when data is JedisDataException
    • Instead, Response.get() is responsible for throwing JedisDataException

* Fixes redis#856
* Before patch it, users could experience StackOverflowError
** when there's multi in Pipeline, which has massive requests
@nykolaslima
Copy link
Contributor

LGTM.

@DivineTraube
Copy link

Checked out your pull request, the test works for me, too, thanks a lot!

@xetorthio
Copy link
Contributor

👍 lets merge this!

marcosnils added a commit that referenced this pull request Feb 4, 2015
…-on-pipeline-with-multi

Prevent recursion from Response.build() with dependency (Fixes #856)
@marcosnils marcosnils merged commit dc9ba6d into redis:master Feb 4, 2015
marcosnils added a commit that referenced this pull request Feb 4, 2015
…-on-pipeline-with-multi

Prevent recursion from Response.build() with dependency (Fixes #856)
Conflicts:
	src/test/java/redis/clients/jedis/tests/PipeliningTest.java
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.

None yet

5 participants