mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Fix [NSURLProtocol -initWithRequest:cachedResponse:client:] to retain the client (up until the last message is sent to it) as OSX does.
This commit is contained in:
parent
df1b6dd6d5
commit
ccb8594bc0
3 changed files with 11 additions and 2 deletions
|
@ -171,7 +171,8 @@ extern "C" {
|
|||
* The cachedResponse may be the result of a previous load of the
|
||||
* request (in which case the protocol may validate and use it).<br />
|
||||
* The client is the object which receives messages about the progress
|
||||
* of the load.
|
||||
* of the load. This is retained by the protocl instance and is released
|
||||
* once the last message has been sent to it.
|
||||
*/
|
||||
- (id) initWithRequest: (NSURLRequest *)request
|
||||
cachedResponse: (NSCachedURLResponse *)cachedResponse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue