Overview
| Comment: | Make GCC happy again |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
55a159ff58355807a384e3f2be46814c |
| User & Date: | js on 2017-09-24 15:18:56 |
| Other Links: | manifest | tags |
Context
|
2017-09-24
| ||
| 15:42 | OFRunLoop: Move #ifdef to the right place (check-in: 1e3159ac95 user: js tags: trunk) | |
| 15:18 | Make GCC happy again (check-in: 55a159ff58 user: js tags: trunk) | |
| 15:13 | OFStream: More flexible repeating async writes (check-in: 1084b23ef7 user: js tags: trunk) | |
Changes
Modified src/OFHTTPClient.m from [87324b6d23] to [4e36f61b7a].
| ︙ | ︙ | |||
515 516 517 518 519 520 521 522 523 524 525 526 527 528 |
} @catch (id e) {
[_client->_delegate client: _client
didEncounterException: e
forRequest: _request];
return false;
}
}
- (size_t)socket: (OFTCPSocket *)socket
didWriteRequest: (const void **)request
length: (size_t)length
context: (id)context
exception: (id)exception
{
| > > > > > > > > > > > > > | 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 |
} @catch (id e) {
[_client->_delegate client: _client
didEncounterException: e
forRequest: _request];
return false;
}
}
- (size_t)socket: (OFTCPSocket *)socket
didWriteBody: (const void **)body
length: (size_t)length
context: (id)context
exception: (id)exception
{
[socket asyncReadLineWithTarget: self
selector: @selector(socket:didReadLine:context:
exception:)
context: nil];
return 0;
}
- (size_t)socket: (OFTCPSocket *)socket
didWriteRequest: (const void **)request
length: (size_t)length
context: (id)context
exception: (id)exception
{
|
| ︙ | ︙ | |||
555 556 557 558 559 560 561 | return [self socket: socket didWriteBody: NULL length: 0 context: nil exception: nil]; } | < < < < < < < < < < < < < | 568 569 570 571 572 573 574 575 576 577 578 579 580 581 |
return [self socket: socket
didWriteBody: NULL
length: 0
context: nil
exception: nil];
}
- (void)handleSocket: (OFTCPSocket *)socket
{
/*
* As a work around for a bug with split packets in lighttpd when using
* HTTPS, we construct the complete request in a buffer string and then
* send it all at once.
*
|
| ︙ | ︙ |