Skip to content

Conversation

@Fedeparma74
Copy link

This pull request contains changes to the gloo-net crate. It changes the start_send method in the impl Sink<Message> for WebSocket implementation to use Blob for sending binary messages instead of ArrayBuffer.

This fixes an issue where the function would incur in a panic when compiling the library with SharedArrayBuffer enabled (compiling with rustflags = ['-C','target-feature=+atomics,+bulk-memory,+mutable-globals']).

immagine

Tests have been update to cover the Message::Bytes case.

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.

1 participant