robbiehanson / CocoaHTTPServer

A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications
Other
5.6k stars 1.31k forks source link

handle 64-bit payloads in websocket #131

Open namel opened 9 years ago

namel commented 9 years ago

We also needed larger payloads.

This code will take 32-bit lengths (4GB) generally, and 64-bit lengths (unlikely) on arm64.

Avoiding compile errors by checking for architecture.