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

Possible remove of placeholder packet #2938

Closed
Buffele opened this issue May 10, 2017 · 4 comments
Closed

Possible remove of placeholder packet #2938

Buffele opened this issue May 10, 2017 · 4 comments

Comments

@Buffele
Copy link

Buffele commented May 10, 2017

You want to:

  • [] report a bug
  • [x ] request a feature

Current behaviour

We are using socket.io in combination with schemapack and binary data only. When binary is being sent, socket.io is also sending placeholder packets. For what are they needed exactly? Is there a way we can get rid of them? Or at least reducing it's size?

{_placeholder: true, num: 0}

Image of Yaktocat

Setup

  • OS: Doesn't matter
  • browser: Doesn't matter
  • socket.io version: 2.0.1
@darrachequesne
Copy link
Member

@Buffele
Copy link
Author

Buffele commented May 12, 2017

Thanks, this solved the issue! I wrote an own parser to send binary data without the placeholder.

@Buffele Buffele closed this as completed May 12, 2017
@darrachequesne
Copy link
Member

Great 👍

@UgurAbasov
Copy link

I tried schemapack parser not working. Still sending this additional data.

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

No branches or pull requests

3 participants