Differences From Artifact [c9577b3169]:
- File src/OFHTTPServer.m — part of check-in [b73d25b8c6] at 2015-11-02 13:53:07 on branch trunk — OFHTTP{Client,Server}: Concatenate repeated fields (user: js, size: 16106) [annotate] [blame] [check-ins using] [more...]
To Artifact [c7dbee91dc]:
- File
src/OFHTTPServer.m
— part of check-in
[48980f2297]
at
2015-11-29 11:43:05
on branch trunk
— Make properties a requirement and clean up code
This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). (user: js, size: 15716) [annotate] [blame] [check-ins using]
︙ | |||
385 386 387 388 389 390 391 | 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 | - + | default: return false; } } @catch (OFWriteFailedException *e) { return false; } |
︙ | |||
642 643 644 645 646 647 648 649 650 651 652 653 654 655 | 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 | + + | [[_server delegate] server: _server didReceiveRequest: request response: response]; } @end @implementation OFHTTPServer @synthesize host = _host, port = _port, delegate = _delegate, name = _name; + (instancetype)server { return [[[self alloc] init] autorelease]; } - init { |
︙ | |||
666 667 668 669 670 671 672 | 668 669 670 671 672 673 674 675 676 677 678 679 680 681 | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | [_host release]; [_listeningSocket release]; [_name release]; [super dealloc]; } |
︙ |