Differences From Artifact [aed0368bbf]:
- File
src/OFHTTPServer.m
— part of check-in
[cec0f072f8]
at
2016-01-03 00:43:58
on branch 0.8
— Update copyright
While at it, also update the mail address. (user: js, size: 16110) [annotate] [blame] [check-ins using]
To Artifact [9171dc644f]:
- File src/OFHTTPServer.m — part of check-in [3b20e90066] at 2016-03-20 15:25:39 on branch 0.8 — OFHTTPServer: Delegate for client socket exception (user: js, size: 16633) [annotate] [blame] [check-ins using]
︙ | |||
170 171 172 173 174 175 176 177 178 179 180 | 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | + - + + + + + | freeWhenDone: true]; } @interface OFHTTPServerResponse: OFHTTPResponse { OFTCPSocket *_socket; OFHTTPServer *_server; OFHTTPRequest *_request; bool _chunked, _headersSent; } - initWithSocket: (OFTCPSocket*)socket |
︙ | |||
263 264 265 266 267 268 269 | 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 | + - - + + - - - + + + + + + + + + + + + + | } - (void)close { if (_socket == nil) @throw [OFNotOpenException exceptionWithObject: self]; @try { |
︙ | |||
633 634 635 636 637 638 639 | 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 | - + + | (of_http_request_protocol_version_t){ 1, _HTTPMinorVersion }]; [request setHeaders: _headers]; [request setBody: _body]; [request setRemoteAddress: [_socket remoteAddress]]; response = [[[OFHTTPServerResponse alloc] initWithSocket: _socket |
︙ |