Home
last modified time | relevance | path

Searched +full:- +full:- +full:root (Results 1 – 25 of 53) sorted by relevance

123

/civetweb-2.7.6/test/
Dtest.pl19 my $root = 'test';
20 my $test_dir = $root . $dir_separator. $test_dir_uri;
28 my @files_to_delete = ('debug.log', 'access.log', $config, "$root/a/put.txt",
29 "$root/a+.txt", "$root/.htpasswd", "$root/binary_file", "$root/a",
30 "$root/myperl", $embed_exe, $unit_test_exe);
55 my $sock = IO::Socket::INET->new(Proto => 6,
58 $sock->autoflush(1);
143 my $out = `(cc -c src/civetweb.c && nm src/civetweb.o) | grep ' T '`;
158 spawn("$civetweb_exe -listening_ports 127.0.0.1:$port");
165 "-listening_ports 127.0.0.1:$port ".
[all …]
Dssi_test.shtml4 <meta charset="utf-8">
15 <!--#exec "cd" -->
17 <!--#exec "pwd" -->
20 <!--#include file="hello.txt" -->
22 <!--#include "hello.txt" -->
24 <h2>File relative to document root: "hello.txt"</h2>
25 <!--#include virtual="hello.txt" -->
28 <!--#include abspath="C:\Windows\system.ini" -->
30 <!--#include abspath="/etc/issue" -->
33 <!--#include file="./hello.shtml" -->
/civetweb-2.7.6/examples/rest/cJSON/
DcJSON_Utils.c2 Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
98 return tolower(*string1) - tolower(*string2); in compare_strings()
196 …for (current_child = object->child; current_child != NULL; (void)(current_child = current_child->n… in cJSONUtils_FindPointerFromObjectTo()
222 …strlen((char*)target_pointer) + pointer_encoded_length((unsigned char*)current_child->string) + 2); in cJSONUtils_FindPointerFromObjectTo()
224 encode_string_as_pointer(full_pointer + 1, (unsigned char*)current_child->string); in cJSONUtils_FindPointerFromObjectTo()
244 cJSON *child = array ? array->child : NULL; in get_array_item()
247 item--; in get_array_item()
248 child = child->next; in get_array_item()
267 parsed_index = (10 * parsed_index) + (size_t)(pointer[position] - '0'); in decode_array_index_from_pointer()
306 current_element = current_element->child; in get_item_from_pointer()
[all …]
DcJSON_Utils.h2 Copyright (c) 2009-2017 Dave Gamble and cJSON contributors
64 /* generates a patch to move from -> to */
69 /* Given a root object and a target object, construct a pointer from one to the other. */
/civetweb-2.7.6/src/third_party/lua-5.1.5/test/
Dbisect.lua1 -- bisection method for solving non-linear equations
3 delta=1e-6 -- tolerance
8 if c==a or c==b or math.abs(a-b)<delta then return c,b-a end
14 -- find root of f in the inverval [a,b]. needs f(a)*f(b)<0
18 io.write(string.format("after %d steps, root is %.17g with error %.1e, f=%.1e\n",n,z,e,f(z)))
21 -- our function
23 return x*x*x-x-1
26 -- find zero in [1,2]
/civetweb-2.7.6/docs/
DUserManual.md5 It may be embedded into C/C++ host applications or used as a stand-alone
9 The stand-alone server is self-contained, and does not require any external
11 [Visual C++ Redistributable](http://www.microsoft.com/en-us/download/details.aspx?id=30679).
15 ----
17 On Windows, UNIX and Mac, the CivetWeb stand-alone executable may be started
24 Pressing `Ctrl-C` keys will stop the server.
27 Right-clicking on the icon pops up a menu, where it is possible to stop
33 to this folder, double-click the exe, and launch a browser at
54 All command line arguments must start with `-`.
57 `CivetWeb -document_root D:\web`. Then the `D:\web` directory will be served
[all …]
DBuilding.md4 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 ---------
87 | --------------------------- | ------------------------------------------------- |
89 | `WITH_DUKTAPE=1` | build with server-side JavaScript support |
100 | `DOCUMENT_ROOT=/path` | default document root |
105 | `COPT='-DNO_SSL'` | method to insert compile flags |
[all …]
DEmbedding.md7-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/src/third_party/duktape-1.8.0/src-separate/
Dduk_debug_heap.c18 maxchars = (duk_size_t) (buf_size - 1);
20 nchars = ((duk_size_t) str->blen < maxchars ? (duk_size_t) str->blen : maxchars);
53 DUK_D(DUK_DPRINT(" [%ld]: %p %s (flags: 0x%08lx, ref: %ld) -> %!O",
61 DUK_D(DUK_DPRINT(" [%ld]: %p %s (flags: 0x%08lx) -> %!O",
72 DUK_LOCAL void duk__dump_heaphdr_list(duk_heap *heap, duk_heaphdr *root, const char *name) {
80 curr = root;
89 curr = root;
104 (void *) heap->strtable,
105 (long) heap->st_used,
106 (long) heap->st_size,
[all …]
Dduk_heap_markandsweep.c2 * Mark-and-sweep garbage collection.
16 /* Select a thread for mark-and-sweep use.
21 if (heap->curr_thread) { in duk__get_temp_hthread()
22 return heap->curr_thread; in duk__get_temp_hthread()
24 return heap->heap_thread; /* may be NULL, too */ in duk__get_temp_hthread()
48 /* XXX: use advancing pointers instead of index macros -> faster and smaller? */ in duk__mark_hobject()
57 duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.get); in duk__mark_hobject()
58 duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.set); in duk__mark_hobject()
60 duk__mark_tval(heap, &DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->v); in duk__mark_hobject()
98 /* May happen in some out-of-memory corner cases. */ in duk__mark_hobject()
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.5.2/src-separate/
Dduk_debug_heap.c18 maxchars = (duk_size_t) (buf_size - 1);
20 nchars = ((duk_size_t) str->blen < maxchars ? (duk_size_t) str->blen : maxchars);
53 DUK_D(DUK_DPRINT(" [%ld]: %p %s (flags: 0x%08lx, ref: %ld) -> %!O",
61 DUK_D(DUK_DPRINT(" [%ld]: %p %s (flags: 0x%08lx) -> %!O",
72 DUK_LOCAL void duk__dump_heaphdr_list(duk_heap *heap, duk_heaphdr *root, const char *name) {
80 curr = root;
89 curr = root;
104 (void *) heap->strtable,
105 (long) heap->st_used,
106 (long) heap->st_size,
[all …]
Dduk_heap_markandsweep.c2 * Mark-and-sweep garbage collection.
16 /* Select a thread for mark-and-sweep use.
21 if (heap->curr_thread) { in duk__get_temp_hthread()
22 return heap->curr_thread; in duk__get_temp_hthread()
24 return heap->heap_thread; /* may be NULL, too */ in duk__get_temp_hthread()
48 /* XXX: use advancing pointers instead of index macros -> faster and smaller? */ in duk__mark_hobject()
57 duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.get); in duk__mark_hobject()
58 duk__mark_heaphdr(heap, (duk_heaphdr *) DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->a.set); in duk__mark_hobject()
60 duk__mark_tval(heap, &DUK_HOBJECT_E_GET_VALUE_PTR(heap, h, i)->v); in duk__mark_hobject()
98 /* May happen in some out-of-memory corner cases. */ in duk__mark_hobject()
[all …]
/civetweb-2.7.6/examples/https/
Dcivetweb.conf12 # 3) copy the content of the *.pin files into the Public-Key-Pins
14 # 4) set the document root, and all other required http server settings
25 # 7) run civetweb, like above - or better create your own start script
27 # (or Google groups) - see README.md in CivetWeb main directory
35 # Don't forget to set the document root and domain
54 additional_header Content-Security-Policy: script-src 'self'
55 additional_header X-Frame-Options: SAMEORIGIN
56 additional_header X-Xss-Protection: 1; mode=block
57 additional_header X-Content-Type-Options: nosniff
58 additional_header Referrer-Policy: same-origin
[all …]
/civetweb-2.7.6/
DMakefile3 # 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
32 MKDIR = mkdir -p
33 RMF = rm -f
34 RMRF = rm -rf
36 # desired configuration of the document root
61 # to this variable so we can run lua-specific unit tests.
68 CFLAGS += -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -D$(TARGET_OS)
70 LIBS = -lpthread -lm
[all …]
D.travis.yml10 - $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 …]
/civetweb-2.7.6/examples/multidomain/
DREADME.md1 Compile CivetWeb to the repository root and run it from there
7 …ho | openssl s_client -showcerts -servername default-domain -connect localhost:443 2>/dev/null | o…
9 echo | openssl s_client -showcerts -servername localhost -connect localhost:443 2>/dev/null | opens…
/civetweb-2.7.6/resources/
Dmingw.bat1 @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
Dcoverity_check.sh8 echo "Run this script from the root directory of project!" 1>&2
14 rm -rf cov_build/
29 cp resources/Makefile.in-os cov_build/resources/
34 ../../cov-analysis-linux64-2017.07/bin/cov-build --dir cov-int make WITH_IPV6=1 WITH_WEBSOCKET=1 W…
38 tar czvf civetweb_coverity_check.tgz cov-int
44 ls -la cov_build/civetweb_coverity_check.tgz
49 echo "submit to https://scan.coverity.com/projects/bel2125-civetweb"
52 git log -n 1
/civetweb-2.7.6/cmake/
DFindLibRt.cmake3 # --------
20 # LIBRT_INCLUDE_DIRS - where to find time.h, etc.
21 # LIBRT_LIBRARIES - List of libraries when using librt.
22 # LIBRT_FOUND - True if realtime library found.
27 # A user may set ``LIBRT_ROOT`` to a realtime installation root to tell this
DFindLibDl.cmake3 # --------
20 # LIBDL_INCLUDE_DIRS - where to find dlfcn.h, etc.
21 # LIBDL_LIBRARIES - List of libraries when using libdl.
22 # LIBDL_FOUND - True if dynamic linking library found.
27 # A user may set ``LIBDL_ROOT`` to a library installation root to tell this
DFindLibM.cmake3 # --------
20 # LIBM_INCLUDE_DIRS - where to find math.h, etc.
21 # LIBM_LIBRARIES - List of libraries when using libm.
22 # LIBM_FOUND - True if math library found.
27 # A user may set ``LIBM_ROOT`` to a math library installation root to tell this
DFindWinSock.cmake3 # --------
20 # WINSOCK_INCLUDE_DIRS - where to find winsock.h, etc.
21 # WINSOCK_LIBRARIES - List of libraries when using librt.
22 # WINSOCK_FOUND - True if realtime library found.
27 # A user may set ``WINSOCK_ROOT`` to a realtime installation root to tell this
43 COMMAND ${CMAKE_C_COMPILER} -xc -E -v -
52 if (NOT ${START} EQUAL -1 AND NOT ${END} EQUAL -1)
54 math(EXPR END "${END} - 1")
55 math(EXPR LENGTH "${END} - ${START}")
67 COMMAND ${CMAKE_C_COMPILER} -print-search-dirs
/civetweb-2.7.6/src/third_party/duktape-1.5.2/config/
Dgenconfig.py5 # - 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)
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…
194 self.lines.append(line.encode('utf-8'))
[all …]
/civetweb-2.7.6/src/third_party/duktape-1.8.0/config/
Dgenconfig.py5 # - 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)
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…
194 self.lines.append(line.encode('utf-8'))
[all …]
/civetweb-2.7.6/src/third_party/lua-5.1.5/src/
Dlgc.c35 ((x)->gch.marked = cast_byte(((x)->gch.marked & maskmarks) | luaC_white(g)))
37 #define white2gray(x) reset2bits((x)->gch.marked, WHITE0BIT, WHITE1BIT)
38 #define black2gray(x) resetbit((x)->gch.marked, BLACKBIT)
40 #define stringmark(s) reset2bits((s)->tsv.marked, WHITE0BIT, WHITE1BIT)
43 #define isfinalized(u) testbit((u)->marked, FINALIZEDBIT)
44 #define markfinalized(u) l_setbit((u)->marked, FINALIZEDBIT)
59 #define setthreshold(g) (g->GCthreshold = (g->estimate/100) * g->gcpause)
72 switch (o->gch.tt) { in reallymarkobject()
77 Table *mt = gco2u(o)->metatable; in reallymarkobject()
80 markobject(g, gco2u(o)->env); in reallymarkobject()
[all …]

123