From 0274024abf87c3bc9fc81bafe5bd2a4391192705 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 10 Jan 2025 12:37:13 -0800 Subject: http: drop exclusive tree mode Nothing really needs it -- we kept it in 1.0 to preserve semantics, but there is no requirement for semantic preservation in 2.0. --- include/nng/http.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include') diff --git a/include/nng/http.h b/include/nng/http.h index ec29e56e..6a57cfe6 100644 --- a/include/nng/http.h +++ b/include/nng/http.h @@ -298,14 +298,6 @@ NNG_DECL void nng_http_handler_collect_body(nng_http_handler *, bool, size_t); // called for an exact path match. NNG_DECL void nng_http_handler_set_tree(nng_http_handler *); -// nng_http_handler_set_tree_exclusive indicates that the handler is being -// registered for a heirarchical tree *exclusively*, rather than just a single -// path, so it will be called for all child paths supplied. By default the -// handler is only called for an exact path match. Exclusive means that any -// other handler on a conflicting path will induce an address conflict error -// when added to a server. -NNG_DECL void nng_http_handler_set_tree_exclusive(nng_http_handler *); - // nng_http_handler_set_data is used to store additional data, along with // a possible clean up routine. (The clean up is a custom de-allocator and // will be called with the supplied data as an argument, when the handler -- cgit v1.2.3-70-g09d2