You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specs/tasks/M5-routing-lifecycle/TASK-034.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,12 @@
8
8
Remove `#ifdef HAVE_*` from public headers and provide runtime feature reporting plus documented sentinel/throw behavior when a build-disabled feature is invoked.
9
9
10
10
**Action Items:**
11
-
-[] Remove `#ifdef HAVE_BAUTH | HAVE_DAUTH | HAVE_GNUTLS | HAVE_WEBSOCKET` guards from every public header — the methods are now declared unconditionally.
12
-
-[] Implementation files: when the relevant `HAVE_*` is undefined, the implementation either returns the documented sentinel (empty `string_view`, `false`, `-1`) or throws `feature_unavailable` per §7.
13
-
-[] Add `webserver::features()` returning `struct features { bool basic_auth; bool digest_auth; bool tls; bool websocket; };`. Implementation reads compile-time `HAVE_*` and returns a value.
14
-
-[]`create_webserver::use_ssl(true)` on a non-TLS build throws `feature_unavailable` at `webserver` construction time (consistent across all features per §7).
15
-
-[]`register_ws_resource` on a non-WebSocket build throws `feature_unavailable`.
16
-
-[] Confirm `feature_unavailable.what()` always names both feature and the controlling flag (TASK-003 invariant).
11
+
-[x] Remove `#ifdef HAVE_BAUTH | HAVE_DAUTH | HAVE_GNUTLS | HAVE_WEBSOCKET` guards from every public header — the methods are now declared unconditionally.
12
+
-[x] Implementation files: when the relevant `HAVE_*` is undefined, the implementation either returns the documented sentinel (empty `string_view`, `false`, `-1`) or throws `feature_unavailable` per §7.
13
+
-[x] Add `webserver::features()` returning `struct features { bool basic_auth; bool digest_auth; bool tls; bool websocket; };`. Implementation reads compile-time `HAVE_*` and returns a value.
14
+
-[x]`create_webserver::use_ssl(true)` on a non-TLS build throws `feature_unavailable` at `webserver` construction time (consistent across all features per §7).
15
+
-[x]`register_ws_resource` on a non-WebSocket build throws `feature_unavailable`.
16
+
-[x] Confirm `feature_unavailable.what()` always names both feature and the controlling flag (TASK-003 invariant).
17
17
18
18
**Dependencies:**
19
19
- Blocked by: TASK-003, TASK-019, TASK-033
@@ -29,4 +29,4 @@ Remove `#ifdef HAVE_*` from public headers and provide runtime feature reporting
0 commit comments