sourcey / libsourcey

C++14 evented IO libraries for high performance networking and media based applications
https://sourcey.com/libsourcey
GNU Lesser General Public License v2.1
1.32k stars 350 forks source link

Reply to WebSocket Ping packets with Pong. #254

Closed michaelfig closed 5 years ago

michaelfig commented 6 years ago

LibSourcey's WebSocket implementation should automatically reply to Ping packets with a Pong of the same payload, as per the spec. This change implements that functionality, as well as allowing for Ping/Pong payloads of length 0.

auscaster commented 5 years ago

Thanks so much for your work here Michael, really great stuff!! Sorry for my lack of action, I have been totally immersed with another project. I'll get your PRs tested and merged over the next couple of days. 💯 👍

michaelfig commented 5 years ago

This PR has been superseded by #259.