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

fix for issue #6 (truncated responses) #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cergfix
Copy link

@cergfix cergfix commented Jul 29, 2015

No description provided.

@Nyholm
Copy link
Member

Nyholm commented Jul 29, 2015

Thank you for this. Would you mind adding a small test for the new read function?


if (header.getType() == FCGIHeaderType.FCGI_STDOUT && header.getLength() != 0) {
int currentRead = readStdoutData(dst, header.getLength(), header.getPadding());
outer:
Copy link
Member

Choose a reason for hiding this comment

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

Debug code?

@cergfix
Copy link
Author

cergfix commented Sep 28, 2015

Can be tested using a simple PHP test described here #6 (comment).

@Nyholm
Copy link
Member

Nyholm commented Sep 29, 2015

I ment an unit test. I know that this library currently have none but if you add a small test for just this bugfix it will help future changes not to reintroduce this issue.

@Nyholm
Copy link
Member

Nyholm commented Oct 21, 2015

Ive tried to reproduce this with the test code you provided. Can you one of the following:

  1. provide a unit test to prove the error
  2. Write detailed steps to reproduce

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.

2 participants