Home
last modified time | relevance | path

Searched refs:file (Results 1 – 25 of 56) sorted by relevance

123

/lighttpd1.4/src/
H A Dchunk.c121 c->file.fd = -1; in chunk_init()
200 c->file.refchg(c->file.ref, -1); in chunk_reset_file_chunk()
209 c->file.view = chunk_file_view_release(c->file.view); in chunk_reset_file_chunk()
683 d->file.fd = c->file.fd; in chunkqueue_dup_file_chunk_fd()
684 d->file.ref = c->file.ref; in chunkqueue_dup_file_chunk_fd()
685 d->file.refchg = c->file.refchg; in chunkqueue_dup_file_chunk_fd()
686 d->file.refchg(d->file.ref, 1); in chunkqueue_dup_file_chunk_fd()
689 d->file.fd = fdevent_dup_cloexec(c->file.fd); in chunkqueue_dup_file_chunk_fd()
691 if ((d->file.view = c->file.view)) in chunkqueue_dup_file_chunk_fd()
800 if (NULL != c && c->file.is_temp && c->file.fd >= 0) { in chunkqueue_get_append_tempfile()
[all …]
H A Dnetwork_write.c166 off_t toSend = c->file.length - c->offset; in network_write_file_chunk_no_mmap()
173 if (c->file.fd < 0 && 0 != chunkqueue_open_file_chunk(cq, errh)) return -1; in network_write_file_chunk_no_mmap()
175 toSend = chunk_file_pread(c->file.fd, buf, toSend, c->offset); in network_write_file_chunk_no_mmap()
201 const chunk_file_view * const restrict cfv = (!c->file.is_temp) in network_write_file_chunk_mmap()
207 off_t toSend = c->file.length - c->offset; in network_write_file_chunk_mmap()
303 toSend = c->file.length - c->offset; in network_write_file_chunk_sendfile()
307 if (c->file.fd < 0 && 0 != chunkqueue_open_file_chunk(cq, errh)) return -1; in network_write_file_chunk_sendfile()
314 wr = sendfile(fd, c->file.fd, &offset, toSend); in network_write_file_chunk_sendfile()
320 wr = sendfile(c->file.fd, fd, offset, &written, NULL, 0); in network_write_file_chunk_sendfile()
325 wr = sendfile(c->file.fd, fd, offset, toSend, NULL, &written, 0); in network_write_file_chunk_sendfile()
[all …]
H A Dmod_openssl.c735 const char *file = ssl_ca_file->ptr; in mod_openssl_load_cacerts() local
743 if (BIO_read_filename(in, file) <= 0) { in mod_openssl_load_cacerts()
745 "SSL: BIO_read_filename('%s') failed", file); in mod_openssl_load_cacerts()
760 "SSL: ssl.verifyclient.ca-file is empty %s", file); in mod_openssl_load_cacerts()
768 cacerts->names = SSL_load_client_CA_file(file); in mod_openssl_load_cacerts()
1316 "SSL: BIO_new/BIO_read_filename('%s') failed", file); in mod_openssl_load_pem_file()
1336 "SSL: inactive/expired X509 certificate '%s'", file); in mod_openssl_load_pem_file()
1365 "SSL: BIO_new/BIO_read_filename('%s') failed", file); in mod_openssl_evp_pkey_load_pem_file()
1368 "SSL: couldn't read private key from '%s'", file); in mod_openssl_evp_pkey_load_pem_file()
1427 ERR_error_string(ERR_get_error(), NULL), file); in mod_openssl_load_stapling_file()
[all …]
H A Dchunk.h43 } file; member
216 const chunk_file_view * const restrict cfv = c->file.view; in chunkqueue_chunk_file_view()
218 ? c->file.length - c->offset >= 131072 /* TBD: min chunk size to mmap */ in chunkqueue_chunk_file_view()
H A DSConscript13 # search any file, not just executables
14 def WhereIsFile(file, paths):
16 f = os.path.join(d, file)
21 # os.stat() raises OSError, not IOError if the file
198 # only touch the file if content actually changes
H A Dmod_vhostdb_ldap.c177 static void mod_authn_ldap_err(log_error_st *errh, const char *file, unsigned long line, const char… in mod_authn_ldap_err() argument
179 log_error(errh, file, line, "ldap: %s: %s", fn, ldap_err2string(err)); in mod_authn_ldap_err()
183 static void mod_authn_ldap_opt_err(log_error_st *errh, const char *file, unsigned long line, const … in mod_authn_ldap_opt_err() argument
187 mod_authn_ldap_err(errh, file, line, fn, err); in mod_authn_ldap_opt_err()
/lighttpd1.4/doc/config/
H A Dlighttpd.conf129 server.pid-file = state_dir + "/lighttpd.pid"
329 index-file.names += (
368 static-file.exclude-extensions = ( ".php", ".pl", ".fcgi", ".scgi" )
/lighttpd1.4/doc/outdated/
H A Ddirlisting.txt28 A directory listing is generated if a directory is requested and no index-file
44 index-file.names = ( "/dir-generator.php" )
56 index-file was found
76 If you file-system is not using ASCII you have to set the encoding of
89 dir-listing.hide-readme-file
99 dir-listing.hide-header-file
H A Dconfiguration.txt14 the layout of the configuration file
59 # include, relative to dirname of main config file
222 You don't need it in the main configuration file. But you might have
240 static-file.exclude-extensions += (".php")
332 index-file.names
336 index-file.names = ( "index.php", "index.html",
339 if a name starts with slash this file will be used a index generator
392 server.pid-file
440 uri to call if the requested file results in a 404
463 path to the PEM file for SSL support
[all …]
H A Dssi.txt37 - ``<!--#include (file="..."\|virtual="...") -->``
38 - ``<!--#flastmod (file="..."\|virtual="...") -->``
39 - ``<!--#fsize (file="..."\|virtual="...") -->``
H A Dcompress.txt44 and the etag associated to the file.
87 Default: not set, compress the file for every request
104 maximum size of the original file to be compressed kBytes.
142 1.disable mod_compress when request a php file::
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.
H A Dauthentication.txt72 A file which contains username and the cleartext password
83 A file which contains username and the crypt()'ed password
99 A file which contains username, realm and the md5()'ed
171 auth.backend.ldap.ca-file = "/etc/CAcertificate.pem"
185 # htdigest file (if used)
H A Dmagnet.txt145 * length = <number> [default: size of the file - offset]
183 This is a bit simplistic, but it illustrates the idea: Take a text-file and cover it in a <pre> tag.
185 Config-file ::
202 Config-file ::
221 Config-file ::
237 -- send the FLV header + a seek into the file
247 selecting a random file from a directory
250 Say, you want to send a random file (ad-content) from a directory.
256 * a special index-file names the highest number
310 content if the requested file doesn't exist, you can attract the physical.path: ::
[all …]
H A Dproxy.txt31 (mod_proxy) which provides 2 options in the config-file:
50 file-extension can have its own handler. Load-Balancing is
65 :<extension>: is the file-extension or prefix (if started with "/")
H A Dcgi.txt32 file-extensions that are handled by a CGI program
47 If the file has no extension keep in mind that lighttpd matches not the
H A Dssl.txt49 If you have a .crt and a .key file, cat them together into a
50 single PEM file: ::
H A Dfastcgi.txt73 (mod_fastcgi) which provides 2 options in the config-file:
89 file-extension can have it own handler. Load-Balancing is
110 "x-sendfile" => <boolean>, # optional (replaces "allow-x-send-file")
120 :<extension>: is the file-extension or prefix
139 for a file in local server.document-root tree
140 and return 404 (Not Found) if no such file.
148 (deprecated headers: X-Sendfile2 and X-LIGHTTPD-send-file)
199 the prefix will be handled as file and /test.cgi would become
579 (fcgi.c.745) unexpected end-of-file (perhaps the fastcgi
H A Daccesslog.txt35 name of the file where the accesslog should be written too if syslog
105 application in a accesslog file. It can be used to log the session id into a
/lighttpd1.4/tests/
H A DREADME29 $ TRACEME=strace ./request.t # output to file 'strace'
30 $ TRACEME=truss ./request.t # output to file 'strace'
43 See each *.t for which config file is used, e.g. tests/lighttpd.conf
H A Dlighttpd.conf37 index-file.names = (
190 static-file.exclude-extensions = (
/lighttpd1.4/
H A D.gitattributes83 # skip git delta compression for compressed file formats
159 # (more compressed file formats, compressed media formats, package formats, ...)
163 # http://www.file-extensions.org/filetype/extension/name/archive-and-compressed-files
H A DNEWS1505 * Add avahi service file under doc/avahi/
2216 * [build] add missing file for test_burl
3116 …* mod_staticfile: add debug output if we ignore a file with static-file.exclude-extensions (fixes …
3205 …mod_rewrite: add url.rewrite-[repeat-]if-not-file to rewrite if file doesn't exist or is not a reg…
3825 * added ssl.ca-file
3949 * fixed log-file cycling
3954 * fixed file-cache
3958 * fixed file-cache
4100 * merged redhat and suse spec-file
4103 * fixed permissions of the PID-file
[all …]
/lighttpd1.4/scripts/m4/
H A Dax_prog_cc_for_build.m422 # file extensions for the build platform, and GCC_FOR_BUILD to `yes' if
30 # Copying and distribution of this file, with or without modification, are
32 # and this notice are preserved. This file is offered as-is, without any
/lighttpd1.4/tests/docroot/
H A Dprefix.fcgi1 # (file exists for mod-fastcgi.t test case)
/lighttpd1.4/src/t/
H A Dtest_mod_ssi.c84 if (0 != lseek(cq->first->file.fd, 0, SEEK_SET) in test_mod_ssi_read_fd()
85 || 2 != read(cq->first->file.fd, buf, sizeof(buf))) { in test_mod_ssi_read_fd()

123