Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 63) sorted by relevance

123

/lighttpd1.4/src/
H A Dbase64.h12 size_t li_base64_dec(unsigned char *result, size_t out_length, const char *in, size_t in_length, ba…
14 unsigned char* buffer_append_base64_decode(buffer *out, const char* in, size_t in_length, base64_ch…
17 #define li_to_base64_no_padding(out, out_length, in, in_length, charset) \ argument
18 li_base64_enc((out), (out_length), (in), (in_length), (charset), 0)
19 #define li_to_base64(out, out_length, in, in_length, charset) \ argument
20 li_base64_enc((out), (out_length), (in), (in_length), (charset), 1)
24 char* buffer_append_base64_enc(buffer *out, const unsigned char* in, size_t in_length, base64_chars…
26 #define buffer_append_base64_encode_no_padding(out, in, in_length, charset) \ argument
27 buffer_append_base64_enc((out), (in), (in_length), (charset), 0)
28 #define buffer_append_base64_encode(out, in, in_length, charset) \ argument
[all …]
H A Dbase64.c40 size_t li_base64_dec(unsigned char * const result, const size_t out_length, const char * const in, … in li_base64_dec() argument
41 const unsigned char *un = (const unsigned char *)in; in li_base64_dec()
90 …estrict out, const size_t out_length, const unsigned char * const restrict in, const size_t in_len… in li_base64_enc() argument
106 v = (in[i-2] << 16) | (in[i-1] << 8) | in[i]; in li_base64_enc()
121 v = (in[i-2] << 4); in li_base64_enc()
135 v = (in[i-2] << 10) | (in[i-1] << 2); in li_base64_enc()
153 char* buffer_append_base64_enc(buffer *out, const unsigned char* in, size_t in_length, base64_chars… in buffer_append_base64_enc() argument
157 li_base64_enc(result, reserve, in, in_length, charset, pad); in buffer_append_base64_enc()
165 unsigned char* buffer_append_base64_decode(buffer *out, const char* in, size_t in_length, base64_ch… in buffer_append_base64_decode() argument
170 li_base64_dec(result, reserve, in, in_length, charset); in buffer_append_base64_decode()
H A DSConscript15 for d in paths:
33 return [item for sublibs in libs for item in FlattenLibs(sublibs)]
187 for module in builtin_mods:
189 for module in modules.keys():
192 if 'lib' in modules[module]:
214 for cfile in staticsrc:
245 for libs in staticlib:
247 for lib in libs:
267 if 'gcc_s' in fullstatic_libs:
312 for module in modules.keys():
[all …]
/lighttpd1.4/src/t/
H A Dtest_base64.c9 static void check_base64 (size_t out_exp, const char *in, const size_t in_len, const base64_charset… in check_base64() argument
11 …force_assert(out_exp == li_to_base64_no_padding(out, sizeof(out), (const unsigned char *)in, in_le… in check_base64()
15 force_assert(buffer_eq_slen(check, in, in_len)); in check_base64()
25 unsigned char in[] = { c1 }; in check_all_len_1() local
26 check_base64(2, (char *)in, sizeof(in), enc); in check_all_len_1()
33 unsigned char in[] = { c1, c2 }; in check_all_len_2() local
34 check_base64(3, (char *)in, sizeof(in), enc); in check_all_len_2()
41 unsigned char in[] = { c1, c2, c3 }; in check_all_len_3() local
42 check_base64(4, (char *)in, sizeof(in), enc); in check_all_len_3()
H A DREADME1 Tests have been written in the interest of "Something is better than nothing".
4 tests and to replace the (much) slower Perl tests in tests/*.t
/lighttpd1.4/
H A DNEWS11 * [meson] fix typo in sbindir
2867 * [core] wrap IPv6 literal in "[]" in redirect URL
3172 * Allow digits in hostnames in more places (fixes #1148)
3454 * fixed counter overrun in ?auto in mod_status (#909)
3528 * fixed possible crash in debug-message in mod_extforward
3610 * fixed crash in digest handling in mod_auth
3654 * fixed encoding the filenames in PROPFIND in mod_webdav
3668 * fixed Content-Length in HEAD request in mod_proxy
3711 * fixed infinite loop in exec-cmd in mod_ssi
3761 * fixed response header in body problem in mod_cgi
[all …]
H A DINSTALL26 take look at the configfile in ./doc/lighttpd.conf,
163 build_dynamic is enabled by default in SConstruct and needs to be disabled for
164 the static build. See also the BoolVariable() settings in SConstruct for other
165 configurable variables that might be set in a customized build. build_static=1
173 * edit src/Makefile.am and, in the section under 'if LIGHTTPD_STATIC',
174 update lighttpd_SOURCES with each module to be included in the static build
176 for each module 'mod_foo' to be included in the static build
H A Dmeson.build14 # setup (in build directory):
31 # $ for i in liblzma libxml2 lua lz4 pcre pcre2 sqlite3 xxhash zlib zstd; do meson wrap install $i;…
32 # $ for i in liblzma libxml2 lua lz4 pcre pcre2 sqlite3 xxhash zlib zstd; do meson wrap update $i; …
H A Dconfigure.ac77 case "$host_os" in
584 case "$host_os" in
1102 case "$host_os" in
1389 case "$host_os" in
1415 case "$host_os" in
1466 case "$host_os" in
1628 case "$host_os" in
1634 case "$host_os" in
1766 case "$host_os" in
1774 case "$host_os" in
[all …]
H A DCOPYING6 Redistribution and use in source and binary forms, with or without
12 - Redistributions in binary form must reproduce the above copyright notice,
13 this list of conditions and the following disclaimer in the documentation
/lighttpd1.4/doc/outdated/
H A Dextforward.txt20 $HTTP{''socket"} directive, crashing in config_check_cond while patching
22 need to call patch_connection in either handle_request_done and
39 I've commented the code in some places, mostly where I wasn't sure
64 Default: empty, results in searching for "X-Forwarded-For" and "Forwarded-For"
71 Things done in between these two moments will match on the real client's IP.
72 The moment things are done by a module depends on in which hook it does things and within the same …
73 on whether they are before/after us in the module loading order
74 (order in the server.modules directive in the config file).
81 In order to see the "real" ip address in access log ,
H A Dcompress.txt25 announcing it in the Accept-Encoding header. This is used to negotiate the
63 by hand in the cache directory.
96 Keep in mind that compressed JavaScript and CSS files are broken in some
97 browsers. Not setting any filetypes will result in no files being compressed.
119 If you want to add headers for uncompress and display diff.gz files , add this section in your conf…
138 in the php.ini as PHP provides compression support by itself.
168 in the config/app.cfg file in your TurboGears application. The above lines should already be in th…
180 in the settings.py file in your Django project.
192 in your main package (MyApp.pm). Further configuration is not required.
H A Dmagnet.txt24 mod_magnet is a module to control the request handling in lighty.
28 …Keep in mind that the magnet is executed in the core of lighty. EVERY long-running operation is bl…
46 mod_magnet can attract a request in several stages in the request-handling.
73 If "http://example.org/search.php?q=lighty" is requested this results in a request like ::
152 You might have seen it already in other examples: In case you are handling the request completely i…
164 changing the request.uri in a rewrite. It restarts the splitting of the request-uri again.
230 for k, v in string.gmatch(lighty.env["uri.query"], "(%w+)=(%w+)") do
278 denying illegal character sequences in the URL
304 Just add the hosts you want to blacklist into the blacklist table in the shown way.
350 ... or how to store data globally in the script-context:
[all …]
H A Ddirlisting.txt29 was found in that directory.
61 if enabled, does not list hidden files in directory listings generated
85 shows README.txt after the dirlisting if it exists in the directory
90 hides README.txt in the dirlisting
95 shows HEADER.txt before the dirlisting if it exists in the directory
100 hides HEADER.txt in the dirlisting
120 them in HEADER.txt and README.txt
H A Dperformance.txt12 * Proper functionality is more important than marginal increases in performance;
34 - set config options in the global scope rather than repeating in sub-scopes.
35 lighttpd optimizes configuration settings in the global scope and makes
43 - list only the modules actually used and enabled in server.modules;
52 - server.tag = "" skips sending "Server: lighttpd/1.4.xx" in responses;
89 global scope and then, where necessary, to unset the option in a small
91 and enabling the config option in many more conditions
105 which is available as a package in many OS distros
120 * mod_indexfile: reduce the number of entries in index-file.names,
142 - ETag response headers are used in HTTP/1.1 conditional caching.
[all …]
H A Dauthentication.txt38 The Basic method transfers the username and the password in
40 in security problems if not used in conjunction with an encrypted
48 authentication process in insecure networks.
163 # the $ in auth.backend.ldap.filter is replaced by the
182 # <realm> is a string to display in the dialog
184 # digest-algorithm and has to match the realm in the
H A Dsecurity.txt14 lighttpd was developed with security in mind ...
36 Running daemons as root with full privileges is a bad idea in general.
37 lighttpd runs best without any extra privileges and runs perfectly in chroot.
H A Dfastcgi.txt54 itself but everywhere in the network.
67 different than the one the webserver is running in.
73 (mod_fastcgi) which provides 2 options in the config-file:
76 a value between 0 and 65535 to set the debug-level in the
139 for a file in local server.document-root tree
214 used in DOCUMENT_ROOT and SCRIPT_FILENAME variables passed
272 ignored in that release
344 not enabled by default in the distributions.
456 spawn-fcgi is used to start a FastCGI process in its own
462 in the lighttpd distribution and is call spawn-php.sh.
[all …]
H A Dexpire.txt2 Controlling the Expiration of Content in Caches
24 mod_expire controls the Expires header in the Response Header of HTTP/1.0
37 following the syntax used by mod_expire in Apache 1.3.x and later.
H A Dplugins.txt32 lighttpd has 16 hooks which are used in different states of the
52 Most of these hooks are called in ``http_response_prepare()`` after some
53 fields in the connection structure are set.
92 The field ``data`` and ``lib`` should not be touched in the init function.
104 ``data`` field mentioned in the \*_plugin_init description.
113 to free all buffers allocated in ``init`` or somewhere else in the plugin
H A Dstate.txt44 handle the request internally (might result in sub-requests)
61 The connection is idling in the 'connect' state waiting for a connection.
62 As soon as the connection is set up we init the read-timer in 'reqstart'
99 log the issue in the errorlog.
101 If we have to take care of some data which is coming in after we ran into
108 The FastCGI, CGI, ... integration is done by introducing a loop in
H A Dtraffic-shaping.txt32 limit in kbyte/s
38 in kbyte/s
54 Keep in mind that a limit below 32kb/s might actually limit the traffic to 32kb/s. This
H A Dconfiguration.txt168 # are not in the 10.0.0.0/8 network
178 You can set your own variables in the configuration to simplify your config.
187 in incl-base.conf:
202 in incl-fastcgi.conf:
222 You don't need it in the main configuration file. But you might have
231 in lighttpd.conf:
237 in incl-php.conf:
347 The modules are executed in the order as they are specified. Loading
394 This option is used in combination with a start-script and the daemon mode
440 uri to call if the requested file results in a 404
[all …]
H A Daccesslog.txt71 %D time used in ms (not supported)
81 %T time used in seconds
93 %i and %o expect the name of the field which should be written in curly brackets.
105 application in a accesslog file. It can be used to log the session id into a
H A Drewrite.txt30 rewrites a set of URLs internally in the webserver BEFORE they are handled.
37 rewrites a set of URLs internally in the webserver BEFORE they are handled
44 in 1.3.16.

123