mirror of
https://github.com/lammertb/libhttp.git
synced 2025-07-31 08:24:23 +03:00
Bind to all IPv6 addresses in the example
This commit is contained in:
@ -16,7 +16,11 @@
|
|||||||
|
|
||||||
|
|
||||||
#define DOCUMENT_ROOT "."
|
#define DOCUMENT_ROOT "."
|
||||||
|
#ifdef USE_IPV6
|
||||||
|
#define PORT "8888,[::]:8886"
|
||||||
|
#else
|
||||||
#define PORT "8888"
|
#define PORT "8888"
|
||||||
|
#endif
|
||||||
#define EXAMPLE_URI "/example"
|
#define EXAMPLE_URI "/example"
|
||||||
#define EXIT_URI "/exit"
|
#define EXIT_URI "/exit"
|
||||||
int exitNow = 0;
|
int exitNow = 0;
|
||||||
|
Reference in New Issue
Block a user