Skip to content

Conversation

@christoph-kluge
Copy link
Contributor

Split-off from #217 in order to solve #214. This PR adds a customisable maximum request-header size.

$this->assertInstanceOf('OverflowException', $error);
$this->assertSame('Maximum header size of ' . $newCustomBufferSize . ' exceeded.', $error->getMessage());
}

Copy link
Member

Choose a reason for hiding this comment

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

Indenting seems off here, otherwise LGTM 👍

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.

:shipit:

Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

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

Thanks for breaking this down into smaller PRs, much appreciated! 👍

{
if (!is_integer($maxSize)) {
throw new \InvalidArgumentException('Invalid type for maxSize provided. Expected an integer value.');
}
Copy link
Member

Choose a reason for hiding this comment

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

Not sure how much value this check provides? I would vote to remove this and replace this with a docblock (which can be replaced by PHP 7+ typehints eventually).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good spot! 👍 Since I will need to change this anyway for #242 would it be ok to keep it like that for now and remove it in #242?

Copy link
Contributor Author

@christoph-kluge christoph-kluge Nov 17, 2017

Choose a reason for hiding this comment

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

@clue how do we want to continue here?

@WyriHaximus WyriHaximus modified the milestones: v0.8.0, v0.8.1 Nov 21, 2017
@WyriHaximus WyriHaximus modified the milestones: v0.8.1, v0.8.2 Jan 4, 2018
@WyriHaximus
Copy link
Member

Moved this to v0.8.2 as we haven't heard back from you. Are there any updates?

@christoph-kluge
Copy link
Contributor Author

@WyriHaximus waiting for @clue's feedback to continue here.

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.

4 participants