ASPLes / nopoll

OpenSource WebSocket toolkit
http://www.aspl.es/nopoll
GNU Lesser General Public License v2.1
124 stars 74 forks source link

Allow frames with payload size bigger than 64KB #15

Closed jcelaya closed 7 years ago

jcelaya commented 7 years ago

These patches implement/fix sending and receiving frames with a payload of more than 64KB. Theoretically, the maximum should be 0x8000000000000000, but on 32-bit platforms it has been capped down to 0x80000000 because it is unclear how to easily define a portable 64-bit long int. Since that limit is already high enough for most situations, this problem can be fixed later.

jcelaya commented 7 years ago

Hi, isn't anybody looking into this? Is there any problem?

francisbrosnan commented 7 years ago

Hi, I've been out of office some days...I'll review this asap... Best Regards,

jcelaya commented 7 years ago

Thank you, Francis

francisbrosnan commented 7 years ago

Hello Javier, The patch looks good. I need more time to test it across all supported platforms...but let's continue. I'll be doing more tests...in the meantime I'll merge the patch so we can all continue, Thanks you very much for taking your time Javier, Best Regards!