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 /src/supplemental/http/http_api.h | |
| 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 'src/supplemental/http/http_api.h')
| -rw-r--r-- | src/supplemental/http/http_api.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/supplemental/http/http_api.h b/src/supplemental/http/http_api.h index b2b07b99..ade6cf06 100644 --- a/src/supplemental/http/http_api.h +++ b/src/supplemental/http/http_api.h @@ -275,13 +275,6 @@ extern void nni_http_handler_collect_body(nni_http_handler *, bool, size_t); // will probably need to inspect the URL of the request. extern void nni_http_handler_set_tree(nni_http_handler *); -// nni_http_handler_set_tree_exclusive marks the handler as servicing the -// entire tree (e.g. a directory) exclusively, rather than just a leaf node. -// When servicing a tree exclusively, other handlers sharing parts of the uri -// will induce an address conflict when adding them to a server. The handler -// will probably need to inspect the URL of the request. -extern void nni_http_handler_set_tree_exclusive(nni_http_handler *); - // nni_http_handler_set_host limits the handler to only being called for // the given Host: field. This can be used to set up multiple virtual // hosts. Note that host names must match exactly. If NULL or an empty |
