diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-01-17 22:49:37 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-01-17 22:49:37 -0800 |
| commit | 338706c2420ce3e51b546a6ba2574e10346a511b (patch) | |
| tree | 6bcb07f219936e5780eecf683309660a810f8f3e /src/supplemental/http | |
| parent | 4c637fe5e4624eeaac55ed77deabdf427d2ba7a6 (diff) | |
| download | nng-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.h | 8 |
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 *); |
