httpswift / swifter

Tiny http server engine written in Swift programming language.
BSD 3-Clause "New" or "Revised" License
3.87k stars 538 forks source link

Protocol error "Reserved frame bit has not been negociated." while retrieving a big json binary #506

Open Helloyunho opened 2 years ago

Helloyunho commented 2 years ago

So I was making a small program. I used Starscream for the client and swifter for the server.

But here's the problem: My program can send some big JSONs(since it sends files and all of the binaries are get encoded to base64). But if I send about over 100,000 bytes of JSON, swifter says Reserved frame bit has not been negociated. and it disconnects the client.