mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-15 10:29:47 +00:00
update Makefiles and symlinks
This commit is contained in:
1 parent
2c6fc99c68
commit
ddbfa06bcc
18 files changed
+134
-53
No files matched your search
@@ -7,16 +7,16 @@
|
||||
//
|
||||
// To enable SSL/TLS, see https://mongoose.ws/tutorials/tls/#how-to-build
|
||||
|
||||
#include "mongoose.h"
|
||||
|
||||
static const char *s_backend_url =
|
||||
#if defined(MG_ENABLE_MBEDTLS) || defined(MG_ENABLE_OPENSSL)
|
||||
#if MG_ENABLE_MBEDTLS || MG_ENABLE_OPENSSL
|
||||
"https://cesanta.com";
|
||||
#else
|
||||
"http://info.cern.ch";
|
||||
#endif
|
||||
static const char *s_listen_url = "http://localhost:8000";
|
||||
|
||||
#include "mongoose.h"
|
||||
|
||||
// Forward client request to the backend connection, rewriting the Host header
|
||||
static void forward_request(struct mg_http_message *hm,
|
||||
struct mg_connection *c) {
|
||||
|
||||
Reference in new issue
Block a user