diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-10 12:37:13 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-10 13:57:42 -0800 |
| commit | 0274024abf87c3bc9fc81bafe5bd2a4391192705 (patch) | |
| tree | 3058820a6d1a775796a82bf4d5951542b78e55e7 /include | |
| parent | 292b98dfea50c898affdeb38be94429d171d2491 (diff) | |
| download | nng-0274024abf87c3bc9fc81bafe5bd2a4391192705.tar.gz nng-0274024abf87c3bc9fc81bafe5bd2a4391192705.tar.bz2 nng-0274024abf87c3bc9fc81bafe5bd2a4391192705.zip | |
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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/nng/http.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 |
