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 setBodySizeLimit(0) with HTTP/2 protocol #297

Merged
merged 1 commit into from
Oct 9, 2021
Merged

Conversation

xpader
Copy link
Contributor

@xpader xpader commented Sep 14, 2021

When setBodySizeLimit to 0 means no limit, but http2 protocol with throw 'Amp\Http\Client\Connection\Http2StreamException: Body size limit exceeded'.

fix #296

When setBodySizeLimit to 0 means no limit, but http2 protocol with throw 'Amp\Http\Client\Connection\Http2StreamException: Body size limit exceeded'.
@kelunik kelunik changed the title Fix setBodySizeLimit(0) with http2 protocol. Fix setBodySizeLimit(0) with HTTP/2 protocol Oct 9, 2021
@kelunik kelunik merged commit 2f43bdb into amphp:master Oct 9, 2021
@kelunik
Copy link
Member

kelunik commented Oct 9, 2021

Thanks!

kelunik added a commit that referenced this pull request Dec 18, 2021
* master:
  Relax timings in Http1ConnectionTest
  Remove appveyor.yml
  Prepare v4.6.2 release
  Fix setBodySizeLimit(0) with HTTP/2 protocol (#297)

# Conflicts:
#	test/Connection/Http1ConnectionTest.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Error when set BodySizeLimit to 0 with http2
2 participants