aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental/http
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-01-17 22:49:37 -0800
committerGarrett D'Amore <garrett@damore.org>2018-01-17 22:49:37 -0800
commit338706c2420ce3e51b546a6ba2574e10346a511b (patch)
tree6bcb07f219936e5780eecf683309660a810f8f3e /src/supplemental/http
parent4c637fe5e4624eeaac55ed77deabdf427d2ba7a6 (diff)
downloadnng-338706c2420ce3e51b546a6ba2574e10346a511b.tar.gz
nng-338706c2420ce3e51b546a6ba2574e10346a511b.tar.bz2
nng-338706c2420ce3e51b546a6ba2574e10346a511b.zip
fixes #211 Restore handling of '*' in URL logic
Diffstat (limited to 'src/supplemental/http')
-rw-r--r--src/supplemental/http/http.h8
1 files changed, 6 insertions, 2 deletions
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 *);