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

Update Socket to work around sending secure HTTPS responses with PHP < 7.1.4 #244

Merged
merged 1 commit into from
Nov 14, 2017

Conversation

clue
Copy link
Member

@clue clue commented Nov 14, 2017

PHP < 7.1.4 (and PHP < 7.0.18) suffers from a bug when writing big chunks of data over TLS streams at once. We try to work around this by limiting the write chunk size to 8192 bytes for older PHP versions only. This is only a work-around and has a noticable performance penalty on affected versions. Please update your PHP version.

This also allows us to drop a number of work arounds previously introduced via #167 and #183.

Refs reactphp/socket#105
Refs reactphp/http-client#109

@clue clue added the bug label Nov 14, 2017
@clue clue added this to the v0.8.0 milestone Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants