Skip to content

Conversation

@legionth
Copy link
Contributor

Thanks to @mdrost who found a bug with case-insensitve chunk headers: reactphp/http-client#77

Luckily the Server is not affected. I added just some tests to verify this behavior.

Copy link
Member

@WyriHaximus WyriHaximus left a comment

Choose a reason for hiding this comment

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

👍

@clue clue added this to the v0.7.0 milestone Mar 20, 2017
$data = '';
for ($i = 0; $i < $integer; $i++) {
$data .= '1';
}
Copy link
Member

Choose a reason for hiding this comment

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

str_repeat()

@legionth legionth force-pushed the test-case-sensitivity branch from 9b1ca03 to 38e741f Compare March 20, 2017 22:21
@legionth
Copy link
Contributor Author

Ping @clue . Used str_repeat have a look.

$this->input->emit('data', array("a\r\n0123456790\r\n"));
}

public function testCaseInsensitiyHexValuesInHeaderWillBeHandled()
Copy link

Choose a reason for hiding this comment

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

Insensitiy typo :P

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you! Changed name of the test.

@legionth legionth force-pushed the test-case-sensitivity branch from 38e741f to 9bfd088 Compare March 21, 2017 02:36
@clue clue merged commit 90b942a into reactphp:master Mar 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants