mirek / CoreWebSocket

Web Socket Server and Client Library for iOS and OSX. Follows Core Foundation API style.
http://en.wikipedia.org/wiki/WebSockets
142 stars 31 forks source link

Added support for large chunks of data #3

Closed henghonglee closed 11 years ago

henghonglee commented 11 years ago

Server was not performing well for large chunks of data, added support for counting bytes on the server to wait for more data from the stream when not full.

mirek commented 11 years ago

Dude, your PR was completely broken, segfaulting on reading frame, reverted it for now if you want you can create fixed PR, looks like you've forgotten to add init code for currentData.

henghonglee commented 11 years ago

Oh I'm so sorry bout that I think I missed out part of the code that I added (was working on it in another project). I'll submit a fixed soon

On Monday, September 16, 2013, Mirek Rusin wrote:

Dude, your PR was completely broken, segfaulting on reading frame, reverted it for now if you want you can create fixed PR, looks like you've forgotten to add init code for currentData.

— Reply to this email directly or view it on GitHubhttps://github.com/mirek/CoreWebSocket/pull/3#issuecomment-24482206 .