/civetweb-2.7.6/docs/ |
D | Building.md | 4 This guide covers the build instructions for the stand-alone web server. 17 --------- 25 #### Using MinGW-w64 or TDM-GCC 26 In the start menu locate and run the "Run terminal" batch file. For TDM-GCC this is named "MinGW Co… 29 mingw32-make CC=gcc 41 --------- 51 make build 64 Build the static and shared libraries. 68 The *slib* option should be done on a separate clean build as position 75 Clean up files generated during the build [all …]
|
D | Embedding.md | 7 …-alone executable. It can deliver static files and offers built-in server side Lua, JavaScript and… 11 ------ 25 - HTTP server API 26 - include/civetweb.h 27 - C implementation 28 - src/civetweb.c 29 - src/md5.inl (MD5 calculation) 30 - src/sha1.inl (SHA calculation) 31 - src/handle\_form.inl (HTML form handling functions) 32 - src/timer.inl (optional timer support) [all …]
|
/civetweb-2.7.6/ |
D | Makefile | 3 # License http://opensource.org/licenses/mit-license.php MIT License 10 include resources/Makefile.in-os 19 # http://www.gnu.org/prep/standards/html_node/Directory-Variables.html 31 # build tools 32 MKDIR = mkdir -p 33 RMF = rm -f 34 RMRF = rm -rf 36 # desired configuration of the document root 38 # exists on the build machine. When building 59 # static functions. So we clear OBJECTS so that we don't try to build or link [all …]
|
D | .travis.yml | 10 - $HOME/third-party 17 - cmake 18 - openssl 19 - libssl-dev 21 - kubuntu-backports 25 - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then 28 wget https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.sh --no-check-certificate; 29 chmod +x cmake-3.7.2-Linux-x86_64.sh; 30 ./cmake-3.7.2-Linux-x86_64.sh --prefix=$HOME/usr --exclude-subdir --skip-license; 32 - cmake --version [all …]
|
D | RELEASE_NOTES.md | 6 ------- 8 - Support for flawed CGI interpreters returning only <LF> instead of <CR><LF> 9 - Add NO_FILESYSTEM flag for (embedded) system without any file system 10 - Several fixes for server side Lua scripts 11 - Disable SSL renegotiation for new OpenSSL version 12 - Allow to force TLSv1.3 (disable TLSv1.2) 13 - Prefer pre-compressed *.gz file, if it already exists 14 - Fix some #include statements for various compilers / OS / SDK versions 15 - Support for Linux Standard Base (LSB) 16 - Fixes to mg_get_*_info() API functions [all …]
|
/civetweb-2.7.6/resources/ |
D | coverity_check.sh | 8 echo "Run this script from the root directory of project!" 1>&2 13 # remove last build 14 rm -rf cov_build/ 16 # copy files to build folder 29 cp resources/Makefile.in-os cov_build/resources/ 33 # new scan build 34 ../../cov-analysis-linux64-2017.07/bin/cov-build --dir cov-int make WITH_IPV6=1 WITH_WEBSOCKET=1 W… 37 # pack build results for upload 38 tar czvf civetweb_coverity_check.tgz cov-int 42 # check if the build was successful [all …]
|
D | mingw.bat | 1 @rem MinGW build test - used to test MinGW builds locally 4 @rem This batch file must be used from the repository root 8 @set PATH=%ProgramFiles%\mingw-w64\i686-4.9.2-win32-dwarf-rt_v3-rev1\mingw32\bin;%PATH% 12 @rem make CC=gcc CFLAGS=-w CFLAGS+=-Iinclude/ CFLAGS+=-lws2_32 CFLAGS+=-liphlpapi 13 @rem gcc src\civetweb.c src\main.c -Iinclude\ -lws2_32 -lpthread -lcomdlg32 -w 15 make build CC=gcc WITH_LUA=1 WITH_WEBSOCKET=1
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/config/ |
D | genconfig.py | 5 # - duk_config.h with specific or autodetected platform, compiler, and 7 # - option documentation for Duktape 1.x feature options (DUK_OPT_xxx) 8 # - option documentation for Duktape 1.x/2.x config options (DUK_USE_xxx) 10 # Genconfig tries to build all outputs based on modular metadata, so that 121 # in validate_platform_file()). Fill-ins provide missing optionals. 127 # in validate_architecture_file()). Fill-ins provide missing optionals. 133 # in validate_compiler_file()). Fill-ins provide missing optionals. 150 tmpdir = tempfile.mkdtemp(suffix='-genconfig') 153 if os.path.isdir(dirname) and '-genconfig' in dirname: 180 re_line_requires = re.compile(r'(DUK_[A-Z0-9_]+)') # uppercase only, don't match DUK_USE_xxx for e… [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/config/ |
D | genconfig.py | 5 # - duk_config.h with specific or autodetected platform, compiler, and 7 # - option documentation for Duktape 1.x feature options (DUK_OPT_xxx) 8 # - option documentation for Duktape 1.x/2.x config options (DUK_USE_xxx) 10 # Genconfig tries to build all outputs based on modular metadata, so that 121 # in validate_platform_file()). Fill-ins provide missing optionals. 127 # in validate_architecture_file()). Fill-ins provide missing optionals. 133 # in validate_compiler_file()). Fill-ins provide missing optionals. 150 tmpdir = tempfile.mkdtemp(suffix='-genconfig') 153 if os.path.isdir(dirname) and '-genconfig' in dirname: 180 re_line_requires = re.compile(r'(DUK_[A-Z0-9_]+)') # uppercase only, don't match DUK_USE_xxx for e… [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.3.5/src/ |
D | loadlib.c | 32 #define LUA_IGMARK "-" 71 ** system-dependent functions 110 ** Macro to convert pointer-to-void* to pointer-to-function. This cast 177 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir() 178 lua_remove(L, -2); /* remove original string */ in setprogdir() 281 b = lua_toboolean(L, -1); in noenv() 304 lua_remove(L, -2); /* remove result from 1st 'gsub' */ in setpath() 307 lua_setfield(L, -3, fieldname); /* package[fieldname] = path value */ in setpath() 320 lua_getfield(L, -1, path); in checkclib() 321 plib = lua_touserdata(L, -1); /* plib = CLIBS[path] */ in checkclib() [all …]
|
D | lgc.c | 68 (x->marked = cast_byte((x->marked & maskcolors) | luaC_white(g))) 70 #define white2gray(x) resetbits(x->marked, WHITEBITS) 71 #define black2gray(x) resetbit(x->marked, BLACKBIT) 113 #define linkgclist(o,p) ((o)->gclist = (p), (p) = obj2gco(o)) 134 ** table. Non-collectable objects are never removed from weak 175 linkgclist(t, g->grayagain); in luaC_barrierback_() 187 GCObject *o = gcvalue(uv->v); in luaC_upvalbarrier_() 196 lua_assert(g->allgc == o); /* object must be 1st in 'allgc' list! */ in luaC_fix() 198 g->allgc = o->next; /* remove object from 'allgc' list */ in luaC_fix() 199 o->next = g->fixedgc; /* link it to 'fixedgc' list */ in luaC_fix() [all …]
|
/civetweb-2.7.6/examples/embedded_c/ |
D | embedded_c.c | 2 * Copyright (c) 2013-2017 the CivetWeb developers 4 * License http://opensource.org/licenses/mit-license.php MIT License 54 "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nConnection: " in ExampleHandler() 117 "HTTP/1.1 200 OK\r\nContent-Type: " in ExitHandler() 130 "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nConnection: " in AHandler() 143 "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nConnection: " in ABHandler() 159 "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nConnection: " in BXHandler() 165 mg_printf(conn, "<p>The actual uri is %s</p>", req_info->local_uri); in BXHandler() 178 "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nConnection: " in FooHandler() 184 req_info->request_method, in FooHandler() [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.2.4/src/ |
D | loadlib.c | 69 #define LUA_IGMARK "-" 109 ** system-dependent functions 177 luaL_gsub(L, lua_tostring(L, -1), LUA_EXEC_DIR, buff); in setprogdir() 178 lua_remove(L, -2); /* remove original string */ in setprogdir() 254 lua_getfield(L, -1, path); in ll_checkclib() 255 plib = lua_touserdata(L, -1); /* plib = CLIBS[path] */ in ll_checkclib() 264 lua_pushvalue(L, -1); in ll_addtoclib() 265 lua_setfield(L, -3, path); /* CLIBS[path] = plib */ in ll_addtoclib() 266 lua_rawseti(L, -2, luaL_len(L, -2) + 1); /* CLIBS[#CLIBS + 1] = plib */ in ll_addtoclib() 277 for (; n >= 1; n--) { /* for each handle, in reverse order */ in gctm() [all …]
|
/civetweb-2.7.6/src/third_party/ |
D | sqlite3.c | 17 ** language. The code for the "sqlite3" command-line shell is also in a 38 ** This file implements routines used to report what compile-time options 46 ** autoconf-based build 59 ** An array of names of all compile-time options. This array should 60 ** be sorted A-Z. 63 ** only a handful of compile-time options, so most times this array is usually 99 "COMPILER=clang-" CTIMEOPT_VAL(__clang_major__) "." 103 "COMPILER=msvc-" CTIMEOPT_VAL(_MSC_VER), 105 "COMPILER=gcc-" __VERSION__, 800 ** NO_TEST - The branches on this line are not [all …]
|
/civetweb-2.7.6/examples/rest/cJSON/ |
D | cJSON.c | 2 Copyright (c) 2009-2017 Dave Gamble and cJSON contributors 81 return item->valuestring; in cJSON_GetStringValue() 84 /* This is a safeguard to prevent copy-pasters from using incompatible C and header files */ 118 return tolower(*string1) - tolower(*string2); in case_insensitive_strcmp() 161 copy = (unsigned char*)hooks->allocate(length); in cJSON_strdup() 183 if (hooks->malloc_fn != NULL) in cJSON_InitHooks() 185 global_hooks.allocate = hooks->malloc_fn; in cJSON_InitHooks() 189 if (hooks->free_fn != NULL) in cJSON_InitHooks() 191 global_hooks.deallocate = hooks->free_fn; in cJSON_InitHooks() 205 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item() [all …]
|
/civetweb-2.7.6/src/ |
D | civetweb.c | 1 /* Copyright (c) 2013-2018 the Civetweb developers 2 * Copyright (c) 2004-2013 Sergey Lyubka 33 /* Disable unused macros warnings - not all defines are required 35 #pragma GCC diagnostic ignored "-Wunused-macros" 37 #pragma GCC diagnostic ignored "-Wpadded" 45 #pragma GCC diagnostic ignored "-Wreserved-id-macro" 52 #if !defined(_WIN32_WINNT) /* defined for tdm-gcc so we can use getnameinfo */ 70 #define _FILE_OFFSET_BITS 64 /* Use 64-bit file offsets by default */ 88 /* Enable reserved-id-macro warning again. */ 102 /* non-constant aggregate initializer: issued due to missing C99 support */ [all …]
|
/civetweb-2.7.6/unittest/ |
D | public_server.c | 1 /* Copyright (c) 2015-2018 the Civetweb developers 62 #pragma GCC diagnostic ignored "-Wunused-result" 135 #pragma GCC diagnostic ignored "-Wunreachable-code" in wait_not_null() 136 #pragma GCC diagnostic ignored "-Wunreachable-code-return" in wait_not_null() 164 wd[sizeof(wd) - 1] = 0; in START_TEST() 167 wd[sizeof(wd) - 1] = 0; in START_TEST() 187 exit(1); /* some path is not correct --> test will not work */ in START_TEST() 194 (void)system("cmd /c copy C:\\OpenSSL-Win64\\libeay32.dll libeay32.dll"); in START_TEST() 195 (void)system("cmd /c copy C:\\OpenSSL-Win64\\libssl32.dll libssl32.dll"); in START_TEST() 196 (void)system("cmd /c copy C:\\OpenSSL-Win64\\ssleay32.dll ssleay32.dll"); in START_TEST() [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/debugger/ |
D | duk_debug.js | 16 * https://github.com/petkaantonov/bluebird/wiki/Promise-anti-patterns 30 var wrench = require('wrench'); // https://github.com/ryanmcgrath/wrench-js 134 * reimplement it here. We need to avoid parsing strings as e.g. UTF-8: 135 * although Duktape strings are usually UTF-8/CESU-8 that's not always the 175 * encode with UTF-8 and then represent the bytes with U+0000...U+00FF. 205 if (x === -1 / 0) { return '-Infinity'; } 208 if (x === 0 && 1 / x < 0) { return '-0'; } 213 * for UI usage. Try UTF-8 decoding to get a nice Unicode string (JSON 216 * string when UTF-8 decoding fails. Very long strings are optionally 227 // operations because we want strict UTF-8 interpretation. [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/debugger/ |
D | duk_debug.js | 16 * https://github.com/petkaantonov/bluebird/wiki/Promise-anti-patterns 30 var wrench = require('wrench'); // https://github.com/ryanmcgrath/wrench-js 134 * reimplement it here. We need to avoid parsing strings as e.g. UTF-8: 135 * although Duktape strings are usually UTF-8/CESU-8 that's not always the 175 * encode with UTF-8 and then represent the bytes with U+0000...U+00FF. 205 if (x === -1 / 0) { return '-Infinity'; } 208 if (x === 0 && 1 / x < 0) { return '-0'; } 213 * for UI usage. Try UTF-8 decoding to get a nice Unicode string (JSON 216 * string when UTF-8 decoding fails. Very long strings are optionally 227 // operations because we want strict UTF-8 interpretation. [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.1.5/doc/ |
D | manual.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 8 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> 22 Copyright © 2006–2012 Lua.org, PUC-Rio. 35 <!-- ====================================================================== --> 38 <!-- $Id: manual.of,v 1.49.1.2 2012/01/13 20:23:26 roberto Exp $ --> 43 <h1>1 - <a name="1">Introduction</a></h1> 49 It also offers good support for object-oriented programming, 50 functional programming, and data-driven programming. 51 Lua is intended to be used as a powerful, light-weight 68 which uses the Lua library to offer a complete, stand-alone Lua interpreter. [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.2.4/doc/ |
D | manual.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 8 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> 22 Copyright © 2011–2015 Lua.org, PUC-Rio. 33 <!-- ====================================================================== --> 36 <!-- $Id: manual.of,v 1.104 2013/06/01 00:13:11 roberto Exp $ --> 47 It also offers good support for object-oriented programming, 48 functional programming, and data-driven programming. 106 All values in Lua are <em>first-class values</em>. 122 <em>Number</em> represents real (double-precision floating-point) numbers. 126 (It is easy to build Lua interpreters that use other [all …]
|
/civetweb-2.7.6/src/third_party/lua-5.3.5/doc/ |
D | manual.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 7 <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1"> 22 Copyright © 2015–2018 Lua.org, PUC-Rio. 35 <!-- ====================================================================== --> 38 <!-- $Id: manual.of,v 1.167.1.2 2018/06/26 15:49:07 roberto Exp $ --> 48 object-oriented programming, functional programming, 49 data-driven programming, and data description. 56 runs by interpreting bytecode with a register-based 73 and as a powerful but lightweight and efficient stand-alone language. 80 (Frequently, this host is the stand-alone <code>lua</code> program.) [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src/ |
D | duktape.c | 5 * Git branch v1.8-maintenance. 19 * Copyright (c) 2013-2017 by Duktape authors (see AUTHORS.rst) 55 * Please include an e-mail address, a link to your GitHub profile, or something 65 * * L\u00e1szl\u00f3 Lang\u00f3 <llango.u-szeged@partner.samsung.com> 107 * * https://github.com/chris-y 111 * If you are accidentally missing from this list, send me an e-mail 116 * Top-level include file to be used for all (internal) source files. 130 * C types which is quite platform/compiler specific especially for a non-C99 131 * build. The public API is also dependent on the resolved feature set. 363 * There are two packed type alternatives: an 8-byte representation [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.8.0/src-noline/ |
D | duktape.c | 5 * Git branch v1.8-maintenance. 19 * Copyright (c) 2013-2017 by Duktape authors (see AUTHORS.rst) 55 * Please include an e-mail address, a link to your GitHub profile, or something 65 * * L\u00e1szl\u00f3 Lang\u00f3 <llango.u-szeged@partner.samsung.com> 107 * * https://github.com/chris-y 111 * If you are accidentally missing from this list, send me an e-mail 115 * Top-level include file to be used for all (internal) source files. 129 * C types which is quite platform/compiler specific especially for a non-C99 130 * build. The public API is also dependent on the resolved feature set. 357 * There are two packed type alternatives: an 8-byte representation [all …]
|
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-noline/ |
D | duktape.c | 19 * Copyright (c) 2013-2016 by Duktape authors (see AUTHORS.rst) 55 * Please include an e-mail address, a link to your GitHub profile, or something 65 * * L\u00e1szl\u00f3 Lang\u00f3 <llango.u-szeged@partner.samsung.com> 107 * * https://github.com/chris-y 111 * If you are accidentally missing from this list, send me an e-mail 115 * Top-level include file to be used for all (internal) source files. 129 * C types which is quite platform/compiler specific especially for a non-C99 130 * build. The public API is also dependent on the resolved feature set. 357 * There are two packed type alternatives: an 8-byte representation 358 * based on an IEEE double (preferred for compactness), and a 12-byte [all …]
|