Overview
Comment: | OFHTTPClient: Add isAtEndOfStream for body stream |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
9a983052ebf09e96e43fe579e7fc8238 |
User & Date: | js on 2018-02-19 23:41:51 |
Other Links: | manifest | tags |
Context
2018-02-25
| ||
02:38 | OFHTTPServer: Move the body out of the request check-in: f756fb2ff6 user: js tags: trunk | |
2018-02-19
| ||
23:41 | OFHTTPClient: Add isAtEndOfStream for body stream check-in: 9a983052eb user: js tags: trunk | |
22:57 | OFHTTPClient: Add missing _closed = true check-in: 21d9bced96 user: js tags: trunk | |
Changes
Modified src/OFHTTPClient.m from [4da0a43011] to [0896b047fb].
︙ | |||
69 70 71 72 73 74 75 | 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 | - - + + | - (void)closeAndReconnect; @end @interface OFHTTPClientRequestBodyStream: OFStream <OFReadyForWritingObserving> { OFHTTPClientRequestHandler *_handler; OFTCPSocket *_socket; |
︙ | |||
771 772 773 774 775 776 777 | 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 | - + | if (contentLengthString == nil) @throw [OFInvalidArgumentException exception]; contentLength = [contentLengthString decimalValue]; if (contentLength < 0) @throw [OFOutOfRangeException exception]; |
︙ | |||
796 797 798 799 800 801 802 | 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 | + - + + + - - - + + + + + + + + + + - - + + - + + - + + + + + + + + + + - + + + + + + - + - + - - + + + | [super dealloc]; } - (size_t)lowlevelWriteBuffer: (const void *)buffer length: (size_t)length { size_t requestedLength = length; |
︙ |