Differences From Artifact [66f489833f]:
- File
src/OFHTTPRequest.m
— part of check-in
[e1e7ffa903]
at
2011-09-22 23:25:42
on branch trunk
— Exceptions are now autoreleased.
This is safe as an "exception loop" can't happen, since if allocating
an exception fails, it throws an OFAllocFailedException which is
preallocated and can always be thrown.So, the worst case would be that an autorelease of an exception fails,
triggering an OFOutOfMemoryException for which there is no memory,
resulting in an OFAllocFailedException to be thrown. (user: js, size: 10086) [annotate] [blame] [check-ins using]
To Artifact [58e168ad78]:
- File src/OFHTTPRequest.m — part of check-in [87cd99ff88] at 2011-10-24 18:28:28 on branch trunk — Don't retain delegates to prevent reference cycles. (user: js, size: 10035) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
99 100 101 102 103 104 105 | } - (void)dealloc { [URL release]; [queryString release]; [headers release]; | < | 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | } - (void)dealloc { [URL release]; [queryString release]; [headers release]; [super dealloc]; } - (void)setURL: (OFURL*)URL_ { OF_SETTER(URL, URL_, YES, YES) |
︙ | ︙ | |||
156 157 158 159 160 161 162 | - (BOOL)redirectsFromHTTPSToHTTPAllowed { return redirectsFromHTTPSToHTTPAllowed; } - (void)setDelegate: (id <OFHTTPRequestDelegate>)delegate_ { | | | | 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | - (BOOL)redirectsFromHTTPSToHTTPAllowed { return redirectsFromHTTPSToHTTPAllowed; } - (void)setDelegate: (id <OFHTTPRequestDelegate>)delegate_ { delegate = delegate_; } - (id <OFHTTPRequestDelegate>)delegate { return delegate; } - (void)setStoresData: (BOOL)storesData_ { storesData = storesData_; } |
︙ | ︙ |