diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-01-19 17:13:40 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-01-20 15:03:12 -0800 |
| commit | 7dbc9ae4fef34c6fd836b939bd559e54b8008b72 (patch) | |
| tree | 54660fef8a4a597c067a18953a295f1cfdb96cf0 /src/platform/windows/win_impl.h | |
| parent | 338706c2420ce3e51b546a6ba2574e10346a511b (diff) | |
| download | nng-7dbc9ae4fef34c6fd836b939bd559e54b8008b72.tar.gz nng-7dbc9ae4fef34c6fd836b939bd559e54b8008b72.tar.bz2 nng-7dbc9ae4fef34c6fd836b939bd559e54b8008b72.zip | |
fixes #216 HTTP server side API refactoring, directory serving support
This changes the backend (internal) HTTP API to provide a much more
sensible handler scheme, where the handlers are opaque objects and we
can allocate a handler for different types of tasks.
We've also added support serving up directories of static content, and
added code to validate that the directory serving is working as intended.
This is a key enabling step towards the public API.
Diffstat (limited to 'src/platform/windows/win_impl.h')
| -rw-r--r-- | src/platform/windows/win_impl.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/platform/windows/win_impl.h b/src/platform/windows/win_impl.h index 236feb31..0c22c240 100644 --- a/src/platform/windows/win_impl.h +++ b/src/platform/windows/win_impl.h @@ -1,6 +1,6 @@ // -// Copyright 2017 Garrett D'Amore <garrett@damore.org> -// Copyright 2017 Capitar IT Group BV <info@capitar.com> +// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2018 Capitar IT Group BV <info@capitar.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -104,6 +104,8 @@ extern void nni_win_resolv_sysfini(void); extern int nni_win_sockaddr2nn(nni_sockaddr *, const SOCKADDR_STORAGE *); extern int nni_win_nn2sockaddr(SOCKADDR_STORAGE *, const nni_sockaddr *); +#define NNG_PLATFORM_DIR_SEP "\\" + #endif // NNG_PLATFORM_WINDOWS #endif // PLATFORM_WIN_IMPL_H |
