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

[1.x] Updates stream protocol name to avoid collision with opis/closure #23

Merged
merged 1 commit into from
Oct 7, 2021

Conversation

nunomaduro
Copy link
Member

This pull request makes this package use its own stream protocol ID.

Previously, people can reach this edge case where they can end up deserializing an laravel/serializable-closure before deserializing an opis/closure. As an example, having 2 web servers (one using a new version of Laravel / other using a new version Laravel), and both of them publish queue jobs for a queue server (using a new version of Laravel). When this edge case happens, they could occasionally see this error: stream_wrapper_register(): Protocol closure:// is already defined..

Fixes #22.

@taylorotwell taylorotwell merged commit f416699 into master Oct 7, 2021
@taylorotwell taylorotwell deleted the fix/stream-protocol-name branch October 7, 2021 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stream wrapper collision
2 participants