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 wrong stream IO error code, improve write speed #1192

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

ramunasd
Copy link
Member

This will fix workaround which was introduced in #1179. After latter PR, stream IO always reports exceptions with code 999, which is not correct.

Also, -1 mb_substr() for data frames which are smaller than maximum buffer size, to improve write performance.

@ramunasd ramunasd added this to the 3.7.1 milestone Aug 28, 2024
@ramunasd ramunasd merged commit 83a5c1c into php-amqplib:master Sep 3, 2024
9 checks passed
@ramunasd ramunasd deleted the io_improvements branch September 3, 2024 19:10
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.

1 participant