History of the file that is called src/OFHTTPClient.m at check-in f641fc7faa020178
|
2024-04-03
| ||
| 02:16 | [8f9fbbe9f5] part of check-in [7413a728a7] Change license to LGPLv3 only (check-in: [7413a728a7] user: js, branch: trunk, size: 31114) [annotate] [blame] [check-ins using] [diff] | |
|
2024-03-04
| ||
| 00:43 | [144f6b972c] part of check-in [0d804ed391] Fix -[OFHTTPClientResponse isAtEndOfStream] (check-in: [0d804ed391] user: js, branch: 1.0, size: 30927) [annotate] [blame] [check-ins using] [diff] | |
| 00:43 | [4bd53b5887] part of check-in [3ef01bd2d5] Fix -[OFHTTPClientResponse isAtEndOfStream] (check-in: [3ef01bd2d5] user: js, branch: trunk, size: 30906) [annotate] [blame] [check-ins using] [diff] | |
|
2024-02-03
| ||
| 11:41 | [f4e46fad30] part of check-in [7324ec8590] Update copyright (check-in: [7324ec8590] user: js, branch: 1.0, size: 30964) [annotate] [blame] [check-ins using] [diff] | |
|
2024-01-02
| ||
| 17:17 | [fa2090d82b] part of check-in [26ddd2e4e4] Update copyright (check-in: [26ddd2e4e4] user: js, branch: trunk, size: 30943) [annotate] [blame] [check-ins using] [diff] | |
|
2023-10-15
| ||
| 14:55 |
[771a949bd6]
part of check-in [12c09ef41e]
Add OFHTTPRequestMethodString()
This deprecates OFHTTPRequestMethodName(), which returns a C string. This function was initially only used internally, where this was fine. Adds OFHTTPRequestMethodParseString() for consistency, which behaves the | |
| 12:32 |
[0348d66062]
part of check-in [a61e0594b4]
Add -[OFStream lowlevelIsAtEndOfStream]
This allows for a much cleaner solution to avoid the internal read | |
|
2023-09-14
| ||
| 21:04 | [f5ef5b6f99] part of check-in [02f4bdcb94] Similar User-Agent/Server in OFHTTP{Client,Server} (check-in: [02f4bdcb94] user: js, branch: trunk, size: 30964) [annotate] [blame] [check-ins using] [diff] | |
|
2023-08-25
| ||
| 14:19 | [e9090ece5a] part of check-in [6ebaa2d2f5] Remove unused variables (check-in: [6ebaa2d2f5] user: js, branch: trunk, size: 30945) [annotate] [blame] [check-ins using] [diff] | |
|
2023-08-23
| ||
| 15:39 |
[0a2253ded6]
part of check-in [3a8aa96e16]
OFHTTPClient: Don't enable non-blocking mode
This made reading the response synchronously fail. (check-in: [3a8aa96e16] user: js, branch: trunk, size: 31216) [annotate] [blame] [check-ins using] [diff] | |
|
2023-01-06
| ||
| 09:04 | [feb32daab7] part of check-in [8939cbdb52] Update copyright (check-in: [8939cbdb52] user: js, branch: trunk, size: 31241) [annotate] [blame] [check-ins using] [diff] | |
|
2022-12-27
| ||
| 13:58 | [664acac6f7] part of check-in [29a41e5a78] Rename OFAlready{Connected -> Open}Exception (check-in: [29a41e5a78] user: js, branch: trunk, size: 31241) [annotate] [blame] [check-ins using] [diff] | |
|
2022-11-25
| ||
| 23:43 | [a528d4ec58] part of check-in [1baa99771d] Convert IRIs to URIs where necessary (check-in: [1baa99771d] user: js, branch: trunk, size: 31235) [annotate] [blame] [check-ins using] [diff] | |
|
2022-11-24
| ||
| 00:21 | [1c25c3f26c] part of check-in [23272e6d43] Rename OFURI to OFIRI (check-in: [23272e6d43] user: js, branch: trunk, size: 31081) [annotate] [blame] [check-ins using] [diff] | |
|
2022-10-22
| ||
| 12:09 | [e887f99bf5] part of check-in [b804fc2d16] OFHTTPClient: Correctly handle empty path (check-in: [b804fc2d16] user: js, branch: trunk, size: 31081) [annotate] [blame] [check-ins using] [diff] | |
|
2022-09-28
| ||
| 22:05 | [fbd23d3190] part of check-in [4b1045c2d1] OFHTTPClientDelegate: Improve a method name (check-in: [4b1045c2d1] user: js, branch: trunk, size: 31077) [annotate] [blame] [check-ins using] [diff] | |
| 21:40 | [5fbd446b75] part of check-in [e7ab06503c] Rename OFUR{L -> I} in preparation for URI support (check-in: [e7ab06503c] user: js, branch: trunk, size: 31039) [annotate] [blame] [check-ins using] [diff] | |
|
2022-09-25
| ||
| 15:39 | [b873afdcee] part of check-in [7ab0c2561a] Document more exceptions (check-in: [7ab0c2561a] user: js, branch: trunk, size: 31019) [annotate] [blame] [check-ins using] [diff] | |
|
2022-09-23
| ||
| 14:01 | [14c0fbeab8] part of check-in [60ebc06824] Rename OFInvalidServer{Reply -> Response}Exception (check-in: [60ebc06824] user: js, branch: trunk, size: 31057) [annotate] [blame] [check-ins using] [diff] | |
|
2022-09-12
| ||
| 08:52 | [b95b6d2add] part of check-in [1038191a03] Restrict subclassing on more classes (check-in: [1038191a03] user: js, branch: trunk, size: 31008) [annotate] [blame] [check-ins using] [diff] | |
|
2022-08-30
| ||
| 00:48 | [e665adf188] part of check-in [4ad0c363f3] OFObject: Small API change (check-in: [4ad0c363f3] user: js, branch: trunk, size: 31007) [annotate] [blame] [check-ins using] [diff] | |
|
2022-02-12
| ||
| 07:46 | [74f8b0c30d] part of check-in [1a86b8175b] Update copyright (check-in: [1a86b8175b] user: js, branch: trunk, size: 31007) [annotate] [blame] [check-ins using] [diff] | |
|
2021-11-21
| ||
| 00:41 | [0ddda28409] part of check-in [1203f45de1] OFHTTPClient: Enable non-blocking mode on socket (check-in: [1203f45de1] user: js, branch: trunk, size: 31007) [annotate] [blame] [check-ins using] [diff] | |
|
2021-11-13
| ||
| 13:04 |
[0ef7b9c0c4]
part of check-in [d30efa8bbf]
Completely rework the TLS/SSL API
The previous API could never work cleanly and would always require The new API is a lot cleaner and requires none of the hacks, but using | |
|
2021-11-06
| ||
| 15:57 |
[63931bf44e]
part of check-in [d1d36ae522]
OFStream: New write API
The old write API made it too easy to lose bytes when a stream is set to | |
| 00:10 |
[95bd8d7b45]
part of check-in [34cb121dc5]
Make OFTLSSocket an abstract class
This should make it easier to add TLS support using various | |
|
2021-04-25
| ||
| 11:05 | [53c6cb3f12] part of check-in [27103855c2] A few last renames (check-in: [27103855c2] user: js, branch: new-naming-convention, size: 30023) [annotate] [blame] [check-ins using] [diff] | |
|
2021-04-18
| ||
| 22:56 | [5869517d16] part of check-in [e73c65a849] Rename all symbols marked extern (check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 30005) [annotate] [blame] [check-ins using] [diff] | |
| 20:51 | [1919d7db7a] part of check-in [35de667566] Rename everything in several smaller files (check-in: [35de667566] user: js, branch: new-naming-convention, size: 30011) [annotate] [blame] [check-ins using] [diff] | |
| 15:55 | [12bb2ceb70] part of check-in [7392685ffc] Rename all functions in macros.h (check-in: [7392685ffc] user: js, branch: new-naming-convention, size: 30010) [annotate] [blame] [check-ins using] [diff] | |
|
2021-04-17
| ||
| 22:45 | [e4abefbffe] part of check-in [498074dab9] Rename of_(re)alloc and add OFFreeMemory (check-in: [498074dab9] user: js, branch: new-naming-convention, size: 30022) [annotate] [blame] [check-ins using] [diff] | |
| 14:33 | [7a0dc4013e] part of check-in [83d8f3e5f6] Rename of_http_* (check-in: [83d8f3e5f6] user: js, branch: new-naming-convention, size: 30015) [annotate] [blame] [check-ins using] [diff] | |
| 14:13 | [91e757df2d] part of check-in [eb0cfa6ff9] Always prefix functions with the type (check-in: [eb0cfa6ff9] user: js, branch: new-naming-convention, size: 30050) [annotate] [blame] [check-ins using] [diff] | |
| 02:10 | [4234996a26] part of check-in [255f21fb3d] of_string_encoding_t -> OFStringEncoding (check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 30050) [annotate] [blame] [check-ins using] [diff] | |
| 01:24 | [5fa50d7e58] part of check-in [83dc0fe6e5] OF_NOT_FOUND -> OFNotFound (check-in: [83dc0fe6e5] user: js, branch: new-naming-convention, size: 30054) [annotate] [blame] [check-ins using] [diff] | |
| 00:44 | [34f9c5b83e] part of check-in [d975c53a43] of_range_t -> OFRange (check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 30058) [annotate] [blame] [check-ins using] [diff] | |
| 00:14 | [3474437b44] part of check-in [61fc389aee] of_comparison_result_t -> OFComparisonResult (check-in: [61fc389aee] user: js, branch: new-naming-convention, size: 30052) [annotate] [blame] [check-ins using] [diff] | |
|
2021-03-07
| ||
| 20:25 | [02e9faa541] part of check-in [1b82d3bf4f] *.m: Fold methods into one line where it fits (check-in: [1b82d3bf4f] user: js, branch: trunk, size: 30068) [annotate] [blame] [check-ins using] [diff] | |
| 02:36 |
[4079ebb727]
part of check-in [a0fd103a0b]
Style change: Allow more than 1 argument per line
This is only migrating some places, others will be migrated as they are | |
|
2021-01-02
| ||
| 22:04 | [392b01fde8] part of check-in [374e1a1bfa] Update copyright (check-in: [374e1a1bfa] user: js, branch: trunk, size: 30182) [annotate] [blame] [check-ins using] [diff] | |
|
2020-11-14
| ||
| 12:23 |
[5174ef54a9]
part of check-in [627511b032]
Rename of_malloc and of_calloc
The new names should be more accurate. (check-in: [627511b032] user: js, branch: trunk, size: 30271) [annotate] [blame] [check-ins using] [diff] | |
|
2020-11-05
| ||
| 00:24 |
[72f7071464]
part of check-in [0ddaac3f5b]
Avoid -[allocMemoryWithSize:] for temporary memory
-[allocMemoryWithSize:] has book keeping overhead that is unnecessary | |
|
2020-11-04
| ||
| 23:18 |
[eedb53c084]
part of check-in [3d8286feee]
Remove of_free()
While it makes sense to wrap malloc and calloc to replace the error | |
|
2020-11-01
| ||
| 11:35 | [c27ed01d4c] part of check-in [4bbac7ab17] OFString: Add -[substring{From,To}Index:] (check-in: [4bbac7ab17] user: js, branch: trunk, size: 30275) [annotate] [blame] [check-ins using] [diff] | |
|
2020-10-31
| ||
| 19:16 |
[62848f22ab]
part of check-in [7f102e8c95]
OFHTTPClient: Remove didFailWithException
Instead, add an exception to didPerformRequest, to make it more | |
|
2020-10-25
| ||
| 23:33 | [723a0ca5c9] part of check-in [d0ae3bfd6c] Add of_{malloc,calloc,realloc,free} (check-in: [d0ae3bfd6c] user: js, branch: trunk, size: 30283) [annotate] [blame] [check-ins using] [diff] | |
|
2020-10-10
| ||
| 10:58 |
[f132e311be]
part of check-in [6e42ee482f]
Make HTTP status code consistently a short
It used to be a short in some places and an int in other places. (check-in: [6e42ee482f] user: js, branch: trunk, size: 30374) [annotate] [blame] [check-ins using] [diff] | |
|
2020-08-25
| ||
| 00:11 |
[561ec71175]
part of check-in [25c985fec1]
OFNumber: Remove (u)int{8,16,32,64} methods
Since C guarantees minimum sizes for char, short, int, long and long | |
|
2020-08-11
| ||
| 19:45 |
[d541eab337]
part of check-in [b6ee372b98]
OFString: Rework number parsing API
This solves the old signed vs. unsigned problem and allows for more | |
|
2020-06-28
| ||
| 15:03 | [8dda35db24] part of check-in [b6cb3addd0] Use OF_DIRECT(_MEMBERS) where appropriate (check-in: [b6cb3addd0] user: js, branch: trunk, size: 30174) [annotate] [blame] [check-ins using] [diff] | |
|
2020-05-06
| ||
| 00:32 | [7d20d55912] part of check-in [bc67e98833] Improve names of several properties (check-in: [bc67e98833] user: js, branch: trunk, size: 30102) [annotate] [blame] [check-ins using] [diff] | |
|
2020-04-24
| ||
| 00:21 |
[39a2892f3d]
part of check-in [3dfe642dd3]
Add OFIPStreamSocket
This is a new superclass for OFTCPSocket to allow sharing code with | |
|
2020-04-11
| ||
| 16:31 | [8b55b3abfe] part of check-in [ba4a65d397] OFHTTP*: Use -[asyncReadLine:] for chunk size (check-in: [ba4a65d397] user: js, branch: trunk, size: 30105) [annotate] [blame] [check-ins using] [diff] | |
|
2020-04-01
| ||
| 22:36 | [85a479fa56] part of check-in [ccc1b1989d] Use case insensitive compare for URL scheme (check-in: [ccc1b1989d] user: js, branch: trunk, size: 30069) [annotate] [blame] [check-ins using] [diff] | |
| 21:41 | [d31701c86f] part of check-in [efbbf65df2] OFHTTPClient: Improve redirection checking logic (check-in: [efbbf65df2] user: js, branch: trunk, size: 30001) [annotate] [blame] [check-ins using] [diff] | |
|
2020-03-29
| ||
| 14:04 | [d88637be29] part of check-in [e833a8b212] OFHTTP{Client,Server}: Reject empty Content-Length (check-in: [e833a8b212] user: js, branch: trunk, size: 29692) [annotate] [blame] [check-ins using] [diff] | |
| 03:05 | [4db698c7b0] part of check-in [d9350dba53] OFHTTPClient: Minor chunked body improvement (check-in: [d9350dba53] user: js, branch: trunk, size: 29499) [annotate] [blame] [check-ins using] [diff] | |
|
2020-03-28
| ||
| 14:35 | [515705e71c] part of check-in [fea4fe86b0] OFHTTPClient: Fixes for chunked request bodies (check-in: [fea4fe86b0] user: js, branch: trunk, size: 29261) [annotate] [blame] [check-ins using] [diff] | |
| 14:35 | [f598209a86] part of check-in [8faade8d19] OFHTTPServer: Support for chunked request bodies (check-in: [8faade8d19] user: js, branch: trunk, size: 29208) [annotate] [blame] [check-ins using] [diff] | |
|
2020-03-25
| ||
| 21:26 | [6a00e9f50f] part of check-in [aac504a7bc] OFHTTPClient: Support for sending chunked body (check-in: [aac504a7bc] user: js, branch: trunk, size: 28790) [annotate] [blame] [check-ins using] [diff] | |
|
2020-01-19
| ||
| 15:37 | [36ad6829ee] part of check-in [5256e9acaf] OFHTTPClient: Fix type mismatch on Windows (check-in: [5256e9acaf] user: js, branch: trunk, size: 27996) [annotate] [blame] [check-ins using] [diff] | |
|
2020-01-14
| ||
| 00:16 |
[cc1af7fa6d]
part of check-in [3b43d51006]
More consistent -[close] behavior
This means refusing to close twice, calling -[close] from -[dealloc] and Calling -[cancelAsyncRequests] in -[close] is too dangerous, as -[close] | |
|
2020-01-12
| ||
| 17:37 |
[90f1585c87]
part of check-in [b4810363ea]
OFHTTPClient: Always keep the underlying socket
When there's no keep-alive and the socket is not kept, it fails when the | |
|
2020-01-05
| ||
| 02:05 | [0d964b4cba] part of check-in [0f99128a67] Update URL in a few places (check-in: [0f99128a67] user: js, branch: trunk, size: 27936) [annotate] [blame] [check-ins using] [diff] | |
|
2020-01-02
| ||
| 01:51 | [25d21be32a] part of check-in [c7f0229795] Update copyright (check-in: [c7f0229795] user: js, branch: trunk, size: 27938) [annotate] [blame] [check-ins using] [diff] | |
|
2019-06-17
| ||
| 02:33 | [fd3a2fecad] part of check-in [17d57e01ff] Remove underscores from class names (check-in: [17d57e01ff] user: js, branch: trunk, size: 27935) [annotate] [blame] [check-ins using] [diff] | |
|
2019-03-19
| ||
| 22:36 |
[e2bb72d5a2]
part of check-in [eadd1a0c54]
OFHTTPClient: Compare port using -[isEqual:]
-[OFURL port] used to be an integer, but was changed to being an | |
|
2019-03-08
| ||
| 00:35 | [fa73320acf] part of check-in [bceb7ed4c9] Use dot syntax (check-in: [bceb7ed4c9] user: js, branch: trunk, size: 27886) [annotate] [blame] [check-ins using] [diff] | |
|
2019-01-03
| ||
| 19:13 | [281ca703ab] part of check-in [0509d7a844] Update copyright (check-in: [0509d7a844] user: js, branch: trunk, size: 28138) [annotate] [blame] [check-ins using] [diff] | |
|
2018-12-21
| ||
| 21:39 |
[830dad71cc]
part of check-in [eaf458c1e6]
Remove context from OFHTTPClientDelegate
It was not very useful as for any OFHTTPClient there can only be one | |
|
2018-12-18
| ||
| 17:14 | [fddee74eee] part of check-in [9036359e2e] OFHTTPClient: Fix type mismatch (check-in: [9036359e2e] user: js, branch: trunk, size: 29387) [annotate] [blame] [check-ins using] [diff] | |
| 16:41 | [4b4df1c5de] part of check-in [6b35b78f94] Add -[OFStream asyncWriteString:] (check-in: [6b35b78f94] user: js, branch: trunk, size: 29384) [annotate] [blame] [check-ins using] [diff] | |
| 14:14 |
[c6a81ba86b]
part of check-in [f218986f51]
Use OFData instead of a buffer for async writes
This avoids the entire problem of keeping the buffer alive until the | |
|
2018-12-11
| ||
| 22:57 |
[209c55758d]
part of check-in [064dbe5127]
Include an exception in delegate methods
Otherwise, there would be two methods for every operation: One for | |
|
2018-12-08
| ||
| 16:53 | [a601f5af31] part of check-in [2b6a12065e] Separate error methods for async method delegates (check-in: [2b6a12065e] user: js, branch: trunk, size: 29469) [annotate] [blame] [check-ins using] [diff] | |
| 16:05 | [66db22090b] part of check-in [27153bf8cf] OFTCPSocket: Use a delegate for async operations (check-in: [27153bf8cf] user: js, branch: trunk, size: 29333) [annotate] [blame] [check-ins using] [diff] | |
|
2018-12-07
| ||
| 01:33 |
[376bac39d6]
part of check-in [d16ad96cbd]
OFStream: Use a delegate for async operations
The target / selector approach had several drawbacks: * It was inconvenient to use, as for every read or write, a target, | |
|
2018-11-17
| ||
| 22:59 | [1e684aefeb] part of check-in [b090b5ce92] Various minor style improvements (check-in: [b090b5ce92] user: js, branch: trunk, size: 30702) [annotate] [blame] [check-ins using] [diff] | |
| 22:46 | [00205fa304] part of check-in [4ec7e46c8a] Improve property name consistency (check-in: [4ec7e46c8a] user: js, branch: trunk, size: 30779) [annotate] [blame] [check-ins using] [diff] | |
|
2018-03-11
| ||
| 23:11 | [e9e028700b] part of check-in [69c2ca803a] OFHTTPClient: Throw if socket got closed too early (check-in: [69c2ca803a] user: js, branch: trunk, size: 30783) [annotate] [blame] [check-ins using] [diff] | |
| 20:04 | [b38762c50f] part of check-in [a456f4d39d] OFHTTPClient: Only throw away if we actually can (check-in: [a456f4d39d] user: js, branch: trunk, size: 30703) [annotate] [blame] [check-ins using] [diff] | |
|
2018-02-27
| ||
| 20:36 |
[325ef4384d]
part of check-in [d375061886]
OFHTTP{Client,Server}: Rename body to requestBody
This makes it more clear that this has nothing to do with the body of | |
|
2018-02-25
| ||
| 20:19 | [b418796944] part of check-in [2c415002da] OFHTTPClient: Reset client on any exception (check-in: [2c415002da] user: js, branch: trunk, size: 30595) [annotate] [blame] [check-ins using] [diff] | |
| 15:48 |
[0d10bb98e9]
part of check-in [f80b0d270c]
OFHTTPClient: Reintroduce -[performRequest:]
This uses -[asyncPerformRequest:redirects:context:] under the hood and | |
|
2018-02-19
| ||
| 23:41 | [0896b047fb] part of check-in [9a983052eb] OFHTTPClient: Add isAtEndOfStream for body stream (check-in: [9a983052eb] user: js, branch: trunk, size: 26371) [annotate] [blame] [check-ins using] [diff] | |
| 22:57 | [4da0a43011] part of check-in [21d9bced96] OFHTTPClient: Add missing _closed = true (check-in: [21d9bced96] user: js, branch: trunk, size: 25922) [annotate] [blame] [check-ins using] [diff] | |
|
2018-02-18
| ||
| 21:26 | [55384f926c] part of check-in [562d4e2f61] OFHTTPClient: Minor type cleanups (check-in: [562d4e2f61] user: js, branch: trunk, size: 25904) [annotate] [blame] [check-ins using] [diff] | |
| 00:20 |
[aea3f9620c]
part of check-in [8681bba25e]
OFHTTPClient: Add a callback for the request body
This is in preparation for removing the body from OFHTTPRequest. | |
|
2018-01-07
| ||
| 04:09 | [6b671b812e] part of check-in [0fde3368f6] OFHTTPClient: Make sure _firstLine is always reset (check-in: [0fde3368f6] user: js, branch: trunk, size: 24448) [annotate] [blame] [check-ins using] [diff] | |
|
2018-01-03
| ||
| 19:49 | [665aefad5d] part of check-in [7e5c81e186] Update copyright notice (check-in: [7e5c81e186] user: js, branch: trunk, size: 24449) [annotate] [blame] [check-ins using] [diff] | |
|
2017-11-19
| ||
| 21:57 | [11686037f1] part of check-in [dd5a5f50e3] OFHTTPClient: Improve exception reporting (check-in: [dd5a5f50e3] user: js, branch: trunk, size: 24426) [annotate] [blame] [check-ins using] [diff] | |
| 11:04 |
[a6980a9e89]
part of check-in [69749b6a5b]
Do not conform to OFReadyFor*Observing by default
Instead of letting OFStream conform to it, which itself does not really | |
|
2017-10-31
| ||
| 22:18 |
[69a4197ea4]
part of check-in [35b398fae4]
OFHTTPClient: Adjust to OFURL change
This now URL-encodes everything before sending the request. This wasn't | |
|
2017-10-28
| ||
| 21:08 |
[b30a887ade]
part of check-in [0f995db06d]
Make OFURL more generic
This removes the special handling dependent on the scheme. (check-in: [0f995db06d] user: js, branch: trunk, size: 23861) [annotate] [blame] [check-ins using] [diff] | |
|
2017-10-22
| ||
| 15:05 | [3d2d594ca8] part of check-in [a06354b42a] Make Apple GCC with -Wshadow happy (check-in: [a06354b42a] user: js, branch: trunk, size: 23794) [annotate] [blame] [check-ins using] [diff] | |
| 14:09 | [0843f75aca] part of check-in [31c0f5b89e] Make Apple GCC with -Wshadow happy (check-in: [31c0f5b89e] user: js, branch: 0.90, size: 17634) [annotate] [blame] [check-ins using] [diff] | |
|
2017-10-17
| ||
| 00:33 |
[901849c7c7]
part of check-in [2f4e0df8be]
Do not use implicit method return types
Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does | |
|
2017-10-07
| ||
| 15:19 | [3385dc4745] part of check-in [e3de40a9b9] OFHTTPClient: Fix missing exception handling (check-in: [e3de40a9b9] user: js, branch: trunk, size: 23749) [annotate] [blame] [check-ins using] [diff] | |
|
2017-10-01
| ||
| 21:06 | [dadb6a38d3] part of check-in [f97084d9c3] Fix compilation with GCC (check-in: [f97084d9c3] user: js, branch: trunk, size: 23584) [annotate] [blame] [check-ins using] [diff] | |
|
2017-09-28
| ||
| 23:02 | [f0ee0fc898] part of check-in [2de9660312] Enable -Wnullable-to-nonnull-conversion and adjust (check-in: [2de9660312] user: js, branch: trunk, size: 23569) [annotate] [blame] [check-ins using] [diff] | |
|
2017-09-25
| ||
| 00:02 | [6841c42cc1] part of check-in [c35ba05bbc] OFHTTPClient: Add support for passing a context (check-in: [c35ba05bbc] user: js, branch: trunk, size: 23557) [annotate] [blame] [check-ins using] [diff] | |
|
2017-09-24
| ||
| 21:00 |
[3d75f15cfb]
part of check-in [0319fe1eb9]
OFHTTPClient: Rename to -[asyncPerformRequest:]
This makes it clear that the request is handled asynchronously and makes | |
| 17:35 | [390eee68b1] part of check-in [842c55dd83] OFUDPSocket: Add support for async sending (check-in: [842c55dd83] user: js, branch: trunk, size: 23019) [annotate] [blame] [check-ins using] [diff] | |
| 15:57 | [bea7b309df] part of check-in [112085f4bc] OFHTTPClient: Make sure requestString stays around (check-in: [112085f4bc] user: js, branch: trunk, size: 22877) [annotate] [blame] [check-ins using] [diff] | |
| 15:18 | [4e36f61b7a] part of check-in [55a159ff58] Make GCC happy again (check-in: [55a159ff58] user: js, branch: trunk, size: 22754) [annotate] [blame] [check-ins using] [diff] | |
| 15:13 | [87324b6d23] part of check-in [1084b23ef7] OFStream: More flexible repeating async writes (check-in: [1084b23ef7] user: js, branch: trunk, size: 22754) [annotate] [blame] [check-ins using] [diff] | |
| 13:31 | [efcbdf0935] part of check-in [502a688f3d] OFHTTPClient: Use asynchronous writes (check-in: [502a688f3d] user: js, branch: trunk, size: 22757) [annotate] [blame] [check-ins using] [diff] | |
| 11:24 | [038d53e9bb] part of check-in [f8498bb114] Change type for async exceptions to id (check-in: [f8498bb114] user: js, branch: trunk, size: 21716) [annotate] [blame] [check-ins using] [diff] | |
| 02:11 | [e41f9ea835] part of check-in [9f1accca4e] OFObject: Add -[performSelector*] with 3 objects (check-in: [9f1accca4e] user: js, branch: trunk, size: 21727) [annotate] [blame] [check-ins using] [diff] | |
| 00:59 |
[fb6dd8b062]
part of check-in [56a18442e2]
Make OFHTTPClient asynchronous
This does not make OFHTTPClientResponse completely asynchronous yet. Since -[initWithURL:] does not work well with an asynchronous API, it no | |
|
2017-09-23
| ||
| 20:35 | [d20461a0e1] part of check-in [c26c8ca746] ofhttp: Refactor for asynchronous OFHTTPClient (check-in: [c26c8ca746] user: js, branch: trunk, size: 18714) [annotate] [blame] [check-ins using] [diff] | |
| 19:02 |
[aa3131b9d1]
part of check-in [d3d4d34dad]
OFHTTPClient: Add request performed callback
This is in preparation for making OFHTTPClient asynchronous. (check-in: [d3d4d34dad] user: js, branch: trunk, size: 18637) [annotate] [blame] [check-ins using] [diff] | |
| 18:43 | [1f63af9bb9] part of check-in [845273bf5d] OFHTTPClient: Factor out server header handling (check-in: [845273bf5d] user: js, branch: trunk, size: 18447) [annotate] [blame] [check-ins using] [diff] | |
| 18:34 | [0ce3a791b4] part of check-in [629a6373dd] OFHTTPClient: Factor out request construction (check-in: [629a6373dd] user: js, branch: trunk, size: 18285) [annotate] [blame] [check-ins using] [diff] | |
|
2017-07-22
| ||
| 20:50 | [29b75ba101] part of check-in [c8f7b90082] Split OFDataArray into OFData and OFMutableData (check-in: [c8f7b90082] user: js, branch: trunk, size: 17776) [annotate] [blame] [check-ins using] [diff] | |
|
2017-06-05
| ||
| 15:51 |
[aa5274f753]
part of check-in [f9cd4f9cab]
OFStream: Don't throw when at end of stream
Instead, let reads return 0 and let writes append after the end. (check-in: [f9cd4f9cab] user: js, branch: trunk, size: 17787) [annotate] [blame] [check-ins using] [diff] | |
|
2017-05-21
| ||
| 21:28 |
[530dbe6279]
part of check-in [6b77a5dd8b]
Prefix private methods with of_ instead of OF_
This matches Apple's style. (check-in: [6b77a5dd8b] user: js, branch: trunk, size: 17739) [annotate] [blame] [check-ins using] [diff] | |
|
2017-05-07
| ||
| 20:10 |
[8ee3bb44d0]
part of check-in [4af49a13c3]
Small code style change
Casts are now written like types in variable declarations. (check-in: [4af49a13c3] user: js, branch: trunk, size: 17745) [annotate] [blame] [check-ins using] [diff] | |
| 15:01 | [f34d4593a1] part of check-in [8066257442] OFHTTPClient: Minor change to improve readability (check-in: [8066257442] user: js, branch: trunk, size: 17729) [annotate] [blame] [check-ins using] [diff] | |
|
2017-05-06
| ||
| 19:43 | [fdea43ced0] part of check-in [cca678886f] Clean up a few includes (check-in: [cca678886f] user: js, branch: trunk, size: 17631) [annotate] [blame] [check-ins using] [diff] | |
|
2017-02-04
| ||
| 17:45 | [6b53bb0ce7] part of check-in [5a31a537a1] Fix typos in comments and strings found by aspell (check-in: [5a31a537a1] user: js, branch: trunk, size: 17650) [annotate] [blame] [check-ins using] [diff] | |
|
2017-01-11
| ||
| 03:38 | [a55bedeb65] part of check-in [fa2b1e6f68] OFHTTPClient: Make sure the path is never nil (check-in: [fa2b1e6f68] user: js, branch: trunk, size: 17651) [annotate] [blame] [check-ins using] [diff] | |
|
2017-01-09
| ||
| 17:36 |
[9bb4558e66]
part of check-in [44f45c2e35]
Update copyright
Forgot to add 2017, even though I already did quite some changes in | |
|
2017-01-07
| ||
| 00:37 |
[f4eacb56f1]
part of check-in [d9eb7b50b3]
Add of_ascii_{to{upper,lower},is{alpha,alnum}}
These are independent of the locale and work on the ASCII character set. Unlike the C ones, these are 8-bit safe, meaning if a character > 0x7F | |
|
2016-08-21
| ||
| 14:09 |
[9433d07795]
part of check-in [a509ab7e91]
OFHTTPClient: Add response to redirect delegate
This allows ofhttp to display all headers for the redirect in verbose | |
| 14:00 |
[5d3409efa0]
part of check-in [516517deb3]
OFURL: Do not URL decode and reencode parts
URL decoding and reencoding is not lossless: For example, if the query The only way to solve this is to let the application handle the URL | |
|
2016-07-10
| ||
| 15:51 |
[01bffed1c2]
part of check-in [412c005e2b]
OFHTTPClient: Fix wrong Host on redirect
The Host was still pointing to the old Host on a redirect to a different | |
|
2016-07-03
| ||
| 17:25 | [382795589b] part of check-in [df0769200f] OFHTTPClient: Make sure / is not encoded in path (check-in: [df0769200f] user: js, branch: trunk, size: 17601) [annotate] [blame] [check-ins using] [diff] | |
|
2016-07-02
| ||
| 23:35 |
[c92bc66cbb]
part of check-in [c25601d462]
OFHTTPClient: Properly escape path & query string
OFURL used to return all URL parts escaped, however, when this was | |
|
2016-06-07
| ||
| 22:56 |
[2ea850eecb]
part of check-in [1de551cb5f]
Add support for reusing OFStreams after close
Right now, this is only useful for OFTCPSocket, as this is the only | |
|
2016-06-05
| ||
| 21:17 |
[cf407bada1]
part of check-in [09a0d12bae]
Always cast to unsigned char for to{upper,lower}()
This is required as passing something signed to it is an error on | |
|
2016-05-06
| ||
| 20:39 | [a71d96fcc8] part of check-in [2a2e17d8d0] Enable -Wsign-compare (check-in: [2a2e17d8d0] user: js, branch: trunk, size: 17470) [annotate] [blame] [check-ins using] [diff] | |
| 16:03 | [d67222c86c] part of check-in [db91b57393] OFHTTPClient: Allow overriding Host header (check-in: [db91b57393] user: js, branch: trunk, size: 17334) [annotate] [blame] [check-ins using] [diff] | |
|
2016-01-05
| ||
| 14:58 |
[c0960d74b1]
part of check-in [b9c811a236]
OFHTTPClient: Allow override of all headers
This makes it possible for the user to override Authorization and | |
| 14:10 |
[ad2a18a279]
part of check-in [58d4025602]
Better randomization of HTTP header order
This should randomize the order of all headers now, preventing | |
|
2016-01-03
| ||
| 00:43 |
[9d203aa5e2]
part of check-in [cec0f072f8]
Update copyright
While at it, also update the mail address. (check-in: [cec0f072f8] user: js, branch: 0.8, size: 16946) [annotate] [blame] [check-ins using] [diff] | |
| 00:41 |
[f0a87a8790]
part of check-in [2a27cf3000]
Update copyright
While at it, also update the mail address. (check-in: [2a27cf3000] user: js, branch: trunk, size: 16733) [annotate] [blame] [check-ins using] [diff] | |
|
2015-11-29
| ||
| 11:43 |
[9951bb361f]
part of check-in [48980f2297]
Make properties a requirement and clean up code
This increases the required GCC version from 4.0 to 4.6 (exception: | |
|
2015-11-02
| ||
| 13:53 | [824a74cbab] part of check-in [b73d25b8c6] OFHTTP{Client,Server}: Concatenate repeated fields (check-in: [b73d25b8c6] user: js, branch: trunk, size: 16942) [annotate] [blame] [check-ins using] [diff] | |
|
2015-05-24
| ||
| 16:19 | [10e2ede1ff] part of check-in [692fe63730] OFHTTPClient: Better checking for invalid reply (check-in: [692fe63730] user: js, branch: trunk, size: 16817) [annotate] [blame] [check-ins using] [diff] | |
|
2015-05-23
| ||
| 11:21 | [d946419431] part of check-in [c8877fd278] OFHTTPRequest: Rename entity to body (check-in: [c8877fd278] user: js, branch: trunk, size: 16791) [annotate] [blame] [check-ins using] [diff] | |
|
2015-05-21
| ||
| 21:10 | [e745036a39] part of check-in [03f10291e6] OFHTTPClient: Better keep-alive detection logic (check-in: [03f10291e6] user: js, branch: trunk, size: 16823) [annotate] [blame] [check-ins using] [diff] | |
|
2015-05-20
| ||
| 22:26 | [9a7822765c] part of check-in [a8184e90ae] OFHTTPClient: Correctly handle keep-alive for HEAD (check-in: [a8184e90ae] user: js, branch: trunk, size: 16500) [annotate] [blame] [check-ins using] [diff] | |
|
2015-05-06
| ||
| 20:18 | [0968115a3e] part of check-in [ff759684e2] OFNotConnectedException -> OFNotOpenException (check-in: [ff759684e2] user: js, branch: trunk, size: 16352) [annotate] [blame] [check-ins using] [diff] | |
|
2015-04-26
| ||
| 08:54 | [acbbb93d88] part of check-in [0a249f58cf] Small improvements for OFHTTPClient & OFHTTPServer (check-in: [0a249f58cf] user: js, branch: trunk, size: 16388) [annotate] [blame] [check-ins using] [diff] | |
|
2015-03-22
| ||
| 11:42 | [7ed76f14fb] part of check-in [099e939079] Abstract int vs SOCKET as of_socket_t (check-in: [099e939079] user: js, branch: trunk, size: 16188) [annotate] [blame] [check-ins using] [diff] | |
|
2015-02-16
| ||
| 08:39 |
[24ccd00731]
part of check-in [62e2de30b9]
Explicitly pass errno to exceptions
The old behaviour where the exception would access errno directly on This also greatly increases errno handling on Win32, especially in | |
|
2015-01-03
| ||
| 20:57 | [777515ef21] part of check-in [cfd374b906] Update copyright (check-in: [cfd374b906] user: js, branch: trunk, size: 16198) [annotate] [blame] [check-ins using] [diff] | |
|
2014-07-10
| ||
| 07:35 |
[ba8944b933]
part of check-in [4b8c4cac59]
OFHTTPClient: Minor improvements
* Correctly handle inclusion of port in Host: for https | |
|
2014-07-07
| ||
| 22:28 | [7e8bacfd9a] part of check-in [65afbedbd4] OFURL: Allow all RFC 1808 compatible schemes (check-in: [65afbedbd4] user: js, branch: trunk, size: 16073) [annotate] [blame] [check-ins using] [diff] | |
| 00:50 |
[ab4c72054a]
part of check-in [d2487bc7e1]
OFURL: Don't include the leading "/" in path
While Cocoa includes it, RFC 1738 explicitly states that the "/" between | |
|
2014-07-05
| ||
| 09:11 |
[d38e8f0fed]
part of check-in [75c12eaf7b]
OFHTTPClient: Defaults for Content-{Type,Length}
In case the entity body has been set, but the headers don't contain | |
| 08:32 | [38cf4b12f6] part of check-in [29f7a25643] OFHTTPClient: Add support for Basic Authorization (check-in: [29f7a25643] user: js, branch: trunk, size: 15694) [annotate] [blame] [check-ins using] [diff] | |
|
2014-06-21
| ||
| 21:43 |
[bf3f67d78a]
part of check-in [13ee56edf3]
Move all macros from OFObject.h to macros.h
This means that OFObject.h imports macros.h now, making it unnecessary | |
|
2014-05-31
| ||
| 17:57 |
[26d3992686]
part of check-in [acc999a75e]
OFStream: Add -[hasDataInReadBuffer].
This replaces -[numberOfBytesInReadBuffer], as it's not always known how | |
|
2014-01-25
| ||
| 17:39 |
[3007afbd2c]
part of check-in [8d2a5052fd]
Generalize stream / socket related exceptions
This is in preparation for adding UDP sockets, as UDP sockets and TCP Read and write exceptions are for any object now, as they are useful for | |
|
2014-01-04
| ||
| 00:24 | [c52721c175] part of check-in [3b97fc3cd9] Update copyright. (check-in: [3b97fc3cd9] user: js, branch: trunk, size: 15246) [annotate] [blame] [check-ins using] [diff] | |
|
2013-12-05
| ||
| 17:48 |
[80b58be37f]
part of check-in [fa6496efc7]
Make coding style consistent.
A file documenting the coding style will be written soon. This will | |
|
2013-09-30
| ||
| 16:11 | [bb33e92df8] part of check-in [6bd37697f2] OFHTTPClient: Status in delegate for redirection. (check-in: [6bd37697f2] user: js, branch: trunk, size: 15242) [annotate] [blame] [check-ins using] [diff] | |
| 16:01 | [e4f79357b9] part of check-in [2c075194b3] OFHTTPClient: Improve 3xx status handling. (check-in: [2c075194b3] user: js, branch: trunk, size: 15207) [annotate] [blame] [check-ins using] [diff] | |
|
2013-09-28
| ||
| 15:25 | [95811098ef] part of check-in [7be34d8c40] OFHTTP{Client,Server}: Handle all request methods. (check-in: [7be34d8c40] user: js, branch: trunk, size: 14544) [annotate] [blame] [check-ins using] [diff] | |
| 01:50 | [97ab76e832] part of check-in [c76896d937] Improve HTTP request method handling. (check-in: [c76896d937] user: js, branch: trunk, size: 14750) [annotate] [blame] [check-ins using] [diff] | |
|
2013-07-29
| ||
| 19:43 | [326cb8d0c5] part of check-in [36d0b1e2d8] Rename OFHTTPRequestReply to OFHTTPResponse. (check-in: [36d0b1e2d8] user: js, branch: trunk, size: 14651) [annotate] [blame] [check-ins using] [diff] | |
| 19:42 |
[65175ae100]
part of check-in [6ad892733b]
OFHTTPClient: Fix -[close] behaviour.
-[OFHTTPClient close] now closes the connection, no matter whether a | |
| 10:40 | [4ed5c94cac] part of check-in [1cc51986a0] OFHTTPClient: Remove a newline that was too much. (check-in: [1cc51986a0] user: js, branch: trunk, size: 14566) [annotate] [blame] [check-ins using] [diff] | |
|
2013-06-28
| ||
| 18:48 | [79a0572733] part of check-in [e0182a3e55] OFHTTPClient: Only retry on ECONNRESET or EPIPE. (check-in: [e0182a3e55] user: js, branch: trunk, size: 14569) [annotate] [blame] [check-ins using] [diff] | |
|
2013-06-22
| ||
| 12:12 |
[fa59054e17]
part of check-in [3d16a30f41]
Rework exceptions.
This mostly removes the argument for the class in which the exception This also removes a few other arguments which were not too helpful. In | |
|
2013-03-30
| ||
| 20:07 | [821496c01f] part of check-in [57a6e8ef79] Improve code readability. (check-in: [57a6e8ef79] user: js, branch: trunk, size: 15266) [annotate] [blame] [check-ins using] [diff] | |
|
2013-03-22
| ||
| 18:07 | [39b7903990] part of check-in [44bd6d73dc] Add a cast to satisfy -Wshorten-64-to-32. (check-in: [44bd6d73dc] user: js, branch: trunk, size: 15266) [annotate] [blame] [check-ins using] [diff] | |
|
2013-03-15
| ||
| 17:04 | [af7cb290e3] part of check-in [c195c1f098] OFHTTPClient: Implement "Connection: keep-alive". (check-in: [c195c1f098] user: js, branch: trunk, size: 15258) [annotate] [blame] [check-ins using] [diff] | |
|
2013-03-04
| ||
| 17:20 |
[4a71698195]
part of check-in [c5ef582958]
Replace BOOL with bool.
The only places where BOOL is left are those where they are required by | |
|
2013-02-18
| ||
| 21:53 |
[8b8198d6dd]
part of check-in [efe7be259d]
Rename -[OFStream pendingBytes].
It is now called -[numberOfBytesInReadBuffer]. Additionally, this commit renames OFStream's _cache to _readBuffer. (check-in: [efe7be259d] user: js, branch: trunk, size: 10970) [annotate] [blame] [check-ins using] [diff] | |
|
2013-02-12
| ||
| 18:22 | [bfff30b129] part of check-in [e40729d406] Prefix all ivars with an underscore. (check-in: [e40729d406] user: js, branch: trunk, size: 10926) [annotate] [blame] [check-ins using] [diff] | |
|
2013-01-28
| ||
| 20:06 | [8655f7b1b3] part of check-in [cdfe025f85] Remove AI_ADDRCONFIG, as it's buggy in glibc. (check-in: [cdfe025f85] user: js, branch: trunk, size: 10827) [annotate] [blame] [check-ins using] [diff] | |
|
2013-01-26
| ||
| 00:13 |
[9a386c8c54]
part of check-in [bdf9c4d96b]
Make OFHTTPRequestReply a stream.
This also implements chunked transfer encoding for OFHTTPServer and adds Additionally, this makes it possible to add an async version of | |
|
2013-01-23
| ||
| 21:52 | [07b706d2dd] part of check-in [ea4a43461c] Never compare to @"", use length instead. (check-in: [ea4a43461c] user: js, branch: trunk, size: 12269) [annotate] [blame] [check-ins using] [diff] | |
|
2013-01-09
| ||
| 22:24 | [24ee97d7ac] part of check-in [813c00ccf0] Update copyright. (check-in: [813c00ccf0] user: js, branch: trunk, size: 12274) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-26
| ||
| 20:55 |
[ba8461807d]
part of check-in [75f187cef5]
OFHTTPRequestResult -> OFHTTPRequestReply.
The class also has its own file now. (check-in: [75f187cef5] user: js, branch: trunk, size: 12268) [annotate] [blame] [check-ins using] [diff] | |
| 14:10 | [f5ea4dfab5] part of check-in [4b637f8516] Add OFSystemInfo. (check-in: [4b637f8516] user: js, branch: trunk, size: 12244) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-20
| ||
| 16:42 | [993fb03183] part of check-in [89177dcd09] Remove dummy implementations for formal protocols. (check-in: [89177dcd09] user: js, branch: trunk, size: 12176) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-15
| ||
| 17:52 | [9d0e6d26b7] part of check-in [c85ff8d35a] OFDataArray: Improve API. (check-in: [c85ff8d35a] user: js, branch: trunk, size: 12317) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-14
| ||
| 01:42 | [befaf122bc] part of check-in [fbb9df7439] Rename -[OFHTTPRequest postData] to POSTData. (check-in: [fbb9df7439] user: js, branch: trunk, size: 12344) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-13
| ||
| 20:53 |
[f1da42cb60]
part of check-in [1abe5a111f]
Add of_tls_socket_class for 3rd-party TLS libs.
This removes of_http_client_tls_socket_class in favor of having one | |
|
2012-12-11
| ||
| 12:27 | [27860baf5d] part of check-in [634a1461f8] OFHTTPClient: Small fixes. (check-in: [634a1461f8] user: js, branch: trunk, size: 12420) [annotate] [blame] [check-ins using] [diff] | |
| 12:12 | [0b0b833434] part of check-in [020cedb44b] Make creating OFHTTPRequestResults public. (check-in: [020cedb44b] user: js, branch: trunk, size: 12375) [annotate] [blame] [check-ins using] [diff] | |
| 11:54 | [f50e1c393f] part of check-in [e2877b3d28] Coding style. (check-in: [e2877b3d28] user: js, branch: trunk, size: 12377) [annotate] [blame] [check-ins using] [diff] | |
|
2012-12-09
| ||
| 12:33 | [c9133990ba] part of check-in [6888885299] OFHTTPClient: Don't depend on OFString internals. (check-in: [6888885299] user: js, branch: trunk, size: 12390) [annotate] [blame] [check-ins using] [diff] | |
| 12:13 | Added: [6940cfd80f] part of check-in [2b7a70e246] Split OFHTTPRequest into OFHTTP{Client,Request}. (check-in: [2b7a70e246] user: js, branch: trunk, size: 12099) [annotate] [blame] [check-ins using] | |