From 338706c2420ce3e51b546a6ba2574e10346a511b Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Wed, 17 Jan 2018 22:49:37 -0800 Subject: fixes #211 Restore handling of '*' in URL logic --- src/supplemental/http/http.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/supplemental/http') diff --git a/src/supplemental/http/http.h b/src/supplemental/http/http.h index 47c8d654..4e2ac697 100644 --- a/src/supplemental/http/http.h +++ b/src/supplemental/http/http.h @@ -134,8 +134,12 @@ enum { NNI_HTTP_STATUS_CONTINUE = 100, // the connection. typedef struct nni_http nni_http; -extern int nni_http_init_tcp(nni_http **, void *); -extern int nni_http_init_tls(nni_http **, nng_tls_config *, void *); +// These initialization functions create stream for HTTP transactions. +// They should only be used by the server or client HTTP implementations, +// and are not for use by other code. +extern int nni_http_init_tcp(nni_http **, void *); +extern int nni_http_init_tls(nni_http **, nng_tls_config *, void *); + extern void nni_http_close(nni_http *); extern void nni_http_fini(nni_http *); -- cgit v1.2.3-70-g09d2