Skip to content

Commit a3a4170

Browse files
committed
Tiny performance improvement and minor bug fixes.
1 parent f7de245 commit a3a4170

28 files changed

+6407
-123
lines changed

GCD/GCDAsyncSocket.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
@class GCDAsyncReadPacket;
1717
@class GCDAsyncWritePacket;
18+
@class GCDAsyncSocketRingBuffer;
1819

1920
#if TARGET_OS_IPHONE
2021

@@ -128,7 +129,7 @@ typedef enum GCDAsyncSocketError GCDAsyncSocketError;
128129

129130
unsigned long socketFDBytesAvailable;
130131

131-
NSMutableData *partialReadBuffer;
132+
GCDAsyncSocketRingBuffer *preBuffer;
132133

133134
#if TARGET_OS_IPHONE
134135
CFStreamClientContext streamContext;

0 commit comments

Comments
 (0)