Fixed a serious bug - a race condition where a data buffer in the writer's queue could be dealloced (not the NSData, but its bytes themselves) before the writer sent it, resulting in an EFAULT error.
5 // Created by Jens Alfke on 5/10/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
10 #import "BLIP_Internal.h"
14 /** INTERNAL class that reads BLIP frames from the socket. */
15 @interface BLIPReader : TCPReader
17 BLIPFrameHeader _curHeader;
19 NSMutableData *_curBody;
21 UInt32 _numQueriesReceived;
22 NSMutableDictionary *_pendingQueries, *_pendingReplies;
25 - (void) _addPendingResponse: (BLIPResponse*)response;