ObjFW  History of src/OFHTTPServer.h of 37a33a1a7fd2d362

History of file src/OFHTTPServer.h at check-in 37a33a1a7fd2d362

2024-06-17
21:08
Always use <ObjFW/ObjFW.h> in documentation file: [24d02eaeac] check-in: [164f2fb4bf] user: js, branch: trunk, size: 5431 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [0b2a7cae11] check-in: [7413a728a7] user: js, branch: trunk, size: 5445 [annotate] [blame] [check-ins using] [diff]
2024-02-03
09:17
Minor documentation style fix file: [1bbd3d4319] check-in: [83686d667e] user: js, branch: 1.0, size: 5237 [annotate] [blame] [check-ins using] [diff]
09:17
Minor documentation improvement file: [1ff7289cfa] check-in: [6fb87c3bbc] user: js, branch: trunk, size: 5237 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [4313a7362c] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 5238 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [3618d652f0] check-in: [8939cbdb52] user: js, branch: trunk, size: 5238 [annotate] [blame] [check-ins using] [diff]
2022-12-27
13:58
Rename OFAlready{Connected -> Open}Exception file: [afb1c28d66] check-in: [29a41e5a78] user: js, branch: trunk, size: 5238 [annotate] [blame] [check-ins using] [diff]
2022-09-25
20:14
Document more exceptions file: [ba5fc5aae1] check-in: [5a4e00df9a] user: js, branch: trunk, size: 5272 [annotate] [blame] [check-ins using] [diff]
2022-05-20
09:36
OFHTTPServer: Send 400 on invalid path/query file: [a2fd4b8141] check-in: [f67621fa4d] user: js, branch: trunk, size: 5113 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [df6e847201] check-in: [1a86b8175b] user: js, branch: trunk, size: 5104 [annotate] [blame] [check-ins using] [diff]
2021-11-05
22:42
Remove TLS server support

The current API is too tied to OpenSSL. file: [7d3f688295] check-in: [a5a3047210] user: js, branch: trunk, size: 5104 [annotate] [blame] [check-ins using] [diff]

2021-01-02
22:04
Update copyright file: [78f35135ae] check-in: [374e1a1bfa] user: js, branch: trunk, size: 6338 [annotate] [blame] [check-ins using] [diff]
2020-10-03
11:35
Use /** */ instead of /*! */ for documentation file: [19c7df3c10] check-in: [163a4a5a2e] user: js, branch: trunk, size: 6427 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [ba7a8e49d8] check-in: [c7f0229795] user: js, branch: trunk, size: 6427 [annotate] [blame] [check-ins using] [diff]
2019-09-29
19:35
Either restrict subclassing or reserve ivar space

This allows ABI stability with the fragile ABI. file: [cd787cb48e] check-in: [496695d778] user: js, branch: trunk, size: 6424 [annotate] [blame] [check-ins using] [diff]

2019-03-08
00:35
Use dot syntax file: [3394497349] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 6398 [annotate] [blame] [check-ins using] [diff]
2019-03-03
12:40
OFHTTPServer: Support for using multiple threads file: [3b876afaf6] check-in: [607cd05ad7] user: js, branch: trunk, size: 6410 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [00ea092795] check-in: [0509d7a844] user: js, branch: trunk, size: 5221 [annotate] [blame] [check-ins using] [diff]
2018-11-10
10:01
OFHTTPServer: Add support for TLS file: [b239acc622] check-in: [f6d9264de0] user: js, branch: trunk, size: 5215 [annotate] [blame] [check-ins using] [diff]
2018-02-27
20:36
OFHTTP{Client,Server}: Rename body to requestBody

This makes it more clear that this has nothing to do with the body of
the response, as the body of the response is read from the
OFHTTPResponse itself. file: [108c0e95d0] check-in: [d375061886] user: js, branch: trunk, size: 4365 [annotate] [blame] [check-ins using] [diff]

2018-02-25
02:38
OFHTTPServer: Move the body out of the request

Instead, provide a stream for the body to the callback. file: [d45b5ef4ed] check-in: [f756fb2ff6] user: js, branch: trunk, size: 4351 [annotate] [blame] [check-ins using] [diff]

2018-01-03
19:49
Update copyright notice file: [20ec2e1ce9] check-in: [7e5c81e186] user: js, branch: trunk, size: 4225 [annotate] [blame] [check-ins using] [diff]
2017-11-18
18:50
Documentation: Use @brief for all properties file: [751caf553b] check-in: [cc3ad3ddd3] user: js, branch: trunk, size: 4202 [annotate] [blame] [check-ins using] [diff]
2017-09-26
22:01
Many nullability fixes file: [e0793a9509] check-in: [319709fff1] user: js, branch: 0.90, size: 4216 [annotate] [blame] [check-ins using] [diff]
21:53
Many nullability fixes file: [c1f8d9bed3] check-in: [52011fbfd6] user: js, branch: trunk, size: 4174 [annotate] [blame] [check-ins using] [diff]
2017-09-24
11:24
Change type for async exceptions to id file: [6c55e5b8df] check-in: [f8498bb114] user: js, branch: trunk, size: 4134 [annotate] [blame] [check-ins using] [diff]
2017-08-14
13:33
Always have assign before nonatomic file: [d3a518f515] check-in: [4eab54022e] user: js, branch: trunk, size: 4176 [annotate] [blame] [check-ins using] [diff]
2017-08-11
22:26
Always have retain / copy before nonatomic file: [4a1a4ca81a] check-in: [9db36c14b5] user: js, branch: trunk, size: 4176 [annotate] [blame] [check-ins using] [diff]
2017-05-13
16:29
Also use nonatomic for non-object properties file: [6f778fd782] check-in: [f663d40cbd] user: js, branch: trunk, size: 4176 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

Casts are now written like types in variable declarations. file: [7497041027] check-in: [4af49a13c3] user: js, branch: trunk, size: 4149 [annotate] [blame] [check-ins using] [diff]

2017-04-30
13:35
Use nonatomic for properties and clean up

This changes retaining behavior, meaning properties are not returned
retained and autoreleased anymore, so a property returned from a getter
now needs to be manually retained and autoreleased before calling the
setter. However, this is rarely the case and not using atomic improves
performance. file: [8ee31cc729] check-in: [0a73af49f0] user: js, branch: trunk, size: 4140 [annotate] [blame] [check-ins using] [diff]

2017-02-04
17:45
Fix typos in comments and strings found by aspell file: [77f81be914] check-in: [5a31a537a1] user: js, branch: trunk, size: 4118 [annotate] [blame] [check-ins using] [diff]
2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [28d68003aa] check-in: [44f45c2e35] user: js, branch: trunk, size: 4117 [annotate] [blame] [check-ins using] [diff]

2016-03-20
15:25
OFHTTPServer: Delegate for client socket exception file: [6850d173d1] check-in: [3b20e90066] user: js, branch: 0.8, size: 5191 [annotate] [blame] [check-ins using] [diff]
15:24
OFHTTPServer: Delegate for client socket exception file: [c2275afafe] check-in: [3acdce88f5] user: js, branch: trunk, size: 4111 [annotate] [blame] [check-ins using] [diff]
2016-01-05
14:55
OFHTTPServer: Allow setting name to nil

Setting it to nil means no Server header is sent. file: [79f127a3bc] check-in: [6b4d138cc3] user: js, branch: trunk, size: 3251 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

While at it, also update the mail address. file: [e9ed10111d] check-in: [cec0f072f8] user: js, branch: 0.8, size: 4331 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

While at it, also update the mail address. file: [5c01a19877] check-in: [2a27cf3000] user: js, branch: trunk, size: 3113 [annotate] [blame] [check-ins using] [diff]

2015-11-29
14:20
Clean up optional protocols

Now that we can require GCC >= 4.6, we no longer need to have a category
on OFObject that adds the optional protocol to it. file: [3703de943a] check-in: [ba62f00fac] user: js, branch: trunk, size: 3109 [annotate] [blame] [check-ins using] [diff]

11:43
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). file: [c2a9a2ca01] check-in: [48980f2297] user: js, branch: trunk, size: 3222 [annotate] [blame] [check-ins using] [diff]

2015-06-17
22:11
Add OF_NULLABLE_PROPERTY

This is necessary to make GCC (>= 4.6 and Apple GCC) happy as they don't
like the list of property attributes ending in a comma. file: [0b4b52c4cd] check-in: [80e1a9655b] user: js, branch: trunk, size: 4327 [annotate] [blame] [check-ins using] [diff]

2015-06-14
12:43
Minor interface fixes file: [a9420ff4db] check-in: [f62c04e5d8] user: js, branch: trunk, size: 4294 [annotate] [blame] [check-ins using] [diff]
2015-06-13
22:26
Add support for and use the new nullability file: [1d47d66b5b] check-in: [9e76144ef8] user: js, branch: trunk, size: 4303 [annotate] [blame] [check-ins using] [diff]
2015-01-03
20:57
Update copyright file: [a748f86500] check-in: [cfd374b906] user: js, branch: trunk, size: 4171 [annotate] [blame] [check-ins using] [diff]
2014-02-18
18:50
Documentation: Show correct imports file: [45dbd3ac59] check-in: [246cfe0807] user: js, branch: trunk, size: 4165 [annotate] [blame] [check-ins using] [diff]
2014-01-04
00:24
Update copyright. file: [4d1c017d3b] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 4030 [annotate] [blame] [check-ins using] [diff]
2013-08-15
19:00
Move private methods into private headers. file: [7e91272370] check-in: [1d7a1cbca0] user: js, branch: trunk, size: 4024 [annotate] [blame] [check-ins using] [diff]
2013-07-29
19:43
Rename OFHTTPRequestReply to OFHTTPResponse. file: [d556b97800] check-in: [36d0b1e2d8] user: js, branch: trunk, size: 4148 [annotate] [blame] [check-ins using] [diff]
2013-04-26
19:42
Make it possible to disable sockets. file: [6142f7e628] check-in: [590c377d8a] user: js, branch: trunk, size: 4151 [annotate] [blame] [check-ins using] [diff]
2013-03-08
22:44
Document the block types.

This also removes "bool *stop" from some blocks where it does not make
sense. file: [ffe70c28fb] check-in: [e8473b9db8] user: js, branch: trunk, size: 4089 [annotate] [blame] [check-ins using] [diff]

2013-03-04
17:20
Replace BOOL with bool.

The only places where BOOL is left are those where they are required by
the ABI. file: [37d7fcda08] check-in: [c5ef582958] user: js, branch: trunk, size: 4088 [annotate] [blame] [check-ins using] [diff]

2013-02-12
18:22
Prefix all ivars with an underscore. file: [bf775ba1f9] check-in: [e40729d406] user: js, branch: trunk, size: 4085 [annotate] [blame] [check-ins using] [diff]
2013-01-26
00:13
Make OFHTTPRequestReply a stream.

This also implements chunked transfer encoding for OFHTTPServer and adds
a property for the protocol version to OFHTTPRequest(Reply).

Additionally, this makes it possible to add an async version of
OFHTTPClient. file: [3553c698ef] check-in: [bdf9c4d96b] user: js, branch: trunk, size: 4080 [annotate] [blame] [check-ins using] [diff]

2013-01-10
22:52
Fix all Doxygen warnings. file: [4cb8dc3eba] check-in: [365d74aa27] user: js, branch: trunk, size: 4050 [annotate] [blame] [check-ins using] [diff]
2013-01-09
22:24
Update copyright. file: [907886c51a] check-in: [813c00ccf0] user: js, branch: trunk, size: 3964 [annotate] [blame] [check-ins using] [diff]
2012-12-27
11:21
OFHTTPServer: Pass errors from listening socket.

This way, it is possible to recover from errors by e.g. stopping the
server in the main thread and then restarting it, or by just ignoring
the exception. file: [0320d9c75b] check-in: [df7b88405a] user: js, branch: trunk, size: 3958 [annotate] [blame] [check-ins using] [diff]

2012-12-26
20:55
OFHTTPRequestResult -> OFHTTPRequestReply.

The class also has its own file now. file: [e4f4f862dd] check-in: [75f187cef5] user: js, branch: trunk, size: 3333 [annotate] [blame] [check-ins using] [diff]

2012-12-20
16:42
Remove dummy implementations for formal protocols. file: [3a94e6391a] check-in: [89177dcd09] user: js, branch: trunk, size: 3337 [annotate] [blame] [check-ins using] [diff]
13:03
OFHTTPServer: Make is possible to stop the server. file: [43b8941dbf] check-in: [a31bba0947] user: js, branch: trunk, size: 3445 [annotate] [blame] [check-ins using] [diff]
2012-12-11
14:40
OFHTTPServer: Make the server name configurable. file: [d43ccf4c58] check-in: [eea79730f4] user: js, branch: trunk, size: 3246 [annotate] [blame] [check-ins using] [diff]
12:32
OFHTTPServer: Small fixes. file: [551f28751a] check-in: [e0c2d4af24] user: js, branch: trunk, size: 2879 [annotate] [blame] [check-ins using] [diff]
12:12
Added: Add OFHTTPServer. file: [a5be6ab75a] check-in: [190b9d3a5c] user: js, branch: trunk, size: 2843 [annotate] [blame] [check-ins using]