/unit/docs/ |
H A D | unit-openapi.yaml | 5287 description: "Pathname of the access log file." 5440 file system root for the app." 5551 description: "Pathname of the application’s .war file 5606 description: "Base directory of the app’s file structure." 5626 file: 5628 description: "Pathname of the php.ini file." 5655 file structure." 5762 description: "Pathname of the .rb file setting the event hooks 5970 description: "Lists file paths that are tried until a file is found." 6231 listing file extensions."
|
/unit/ |
H A D | CHANGES | 215 *) Bugfix: router process could crash if index file didn't contain an 232 *) Feature: ability to specify a custom index file name when serving 360 *) Feature: the ability to limit static file serving by MIME types. 523 *) Feature: automatic mounting of an isolated "/tmp" file system into 617 *) Bugfix: "close() failed (9: Bad file descriptor)" alerts might have 621 *) Bugfix: existing application processes didn't reopen the log file. 715 *) Bugfix: segmentation fault might have occurred if an irregular file
|
H A D | NOTICE | 27 you may not use this file except in compliance with the License.
|
H A D | README.md | 85 application object. Let's store our first config snippet in a file called 97 Saving it as a file isn't necessary, but can come in handy with larger objects.
|
/unit/src/ |
H A D | nxt_router.c | 1833 nxt_debug(task, "application language module: \"%s\"", lang->file); in nxt_router_conf_create() 5282 req_rpc_data->msg_info.body_fd = body->file->fd; in nxt_router_app_prepare_request() 5284 body->file->fd = -1; in nxt_router_app_prepare_request()
|
H A D | nxt_main_process.c | 870 nxt_file_t *file, *new_file; in nxt_main_process_sigusr1_handler() local 899 nxt_list_each(file, rt->log_files) { in nxt_main_process_sigusr1_handler() 904 new_file->name = file->name; in nxt_main_process_sigusr1_handler() 1674 nxt_file_t file; in nxt_main_file_store() local 1676 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_main_file_store() 1678 file.name = (nxt_file_name_t *) name; in nxt_main_file_store() 1688 nxt_file_close(task, &file); in nxt_main_file_store() 1691 (void) nxt_file_delete(file.name); in nxt_main_file_store() 1704 nxt_file_t file; in nxt_main_port_access_log_handler() local 1714 file.name = (nxt_file_name_t *) path; in nxt_main_port_access_log_handler() [all …]
|
H A D | nxt_application.h | 39 char *file; member
|
H A D | nxt_application.c | 36 nxt_str_t file; member 266 + module[i].file.length; in nxt_discovery_modules() 417 module->file.start = nxt_mp_alloc(mp, module->file.length); in nxt_discovery_module() 422 nxt_memcpy(module->file.start, name, module->file.length); in nxt_discovery_module() 940 nxt_file_t file; in nxt_app_set_logs() local 961 file.log_level = 1; in nxt_app_set_logs() 968 nxt_file_stdout(&file); in nxt_app_set_logs() 969 nxt_file_close(task, &file); in nxt_app_set_logs() 974 file.log_level = 1; in nxt_app_set_logs() 981 nxt_file_stderr(&file); in nxt_app_set_logs() [all …]
|
H A D | nxt_js.c | 142 opts.file.start = (u_char *) "default"; in nxt_js_vm_create() 143 opts.file.length = 7; in nxt_js_vm_create()
|
H A D | nxt_runtime.c | 84 lang->file = NULL; in nxt_runtime_create() 1305 nxt_file_t *file; in nxt_runtime_log_files_init() local 1330 nxt_file_t *file; in nxt_runtime_log_file_add() local 1343 if (file->name != NULL in nxt_runtime_log_file_add() 1346 return file; in nxt_runtime_log_file_add() 1357 file->fd = NXT_FILE_INVALID; in nxt_runtime_log_file_add() 1361 return file; in nxt_runtime_log_file_add() 1369 nxt_file_t *file; in nxt_runtime_log_files_create() local 1486 nxt_file_t file; in nxt_runtime_pid_file_create() local 1491 file.name = pid_file; in nxt_runtime_pid_file_create() [all …]
|
H A D | nxt_file.h | 102 NXT_EXPORT nxt_int_t nxt_file_open(nxt_task_t *task, nxt_file_t *file, 106 NXT_EXPORT nxt_int_t nxt_file_openat2(nxt_task_t *task, nxt_file_t *file, 154 NXT_EXPORT void nxt_file_close(nxt_task_t *task, nxt_file_t *file); 155 NXT_EXPORT ssize_t nxt_file_write(nxt_file_t *file, const u_char *buf, 157 NXT_EXPORT ssize_t nxt_file_read(nxt_file_t *file, u_char *buf, size_t size, 159 NXT_EXPORT void nxt_file_read_ahead(nxt_file_t *file, nxt_off_t offset, 161 NXT_EXPORT nxt_int_t nxt_file_info(nxt_file_t *file, nxt_file_info_t *fi); 195 NXT_EXPORT nxt_int_t nxt_file_redirect(nxt_file_t *file, nxt_fd_t fd); 196 NXT_EXPORT nxt_int_t nxt_file_stdout(nxt_file_t *file); 197 NXT_EXPORT nxt_int_t nxt_file_stderr(nxt_file_t *file);
|
H A D | nxt_file.c | 21 file->fd = open((char *) file->name, mode, access); in nxt_file_open() 23 file->error = (file->fd == -1) ? nxt_errno : 0; in nxt_file_open() 30 file->name, mode, access, file->fd, file->error); in nxt_file_open() 38 file->name, file->error); in nxt_file_open() 65 file->error = (file->fd == -1) ? nxt_errno : 0; in nxt_file_openat2() 72 file->fd, file->error); in nxt_file_openat2() 80 file->name, file->error); in nxt_file_openat2() 96 file->fd, file->name, nxt_errno); in nxt_file_close() 123 file->fd, file->name, buf, size, in nxt_file_write() 151 file->fd, file->name, buf, size, in nxt_file_read() [all …]
|
H A D | nxt_conn_write.c | 203 n = nxt_sendfile(b->file->fd, sb->socket, b->file_pos, size); in nxt_conn_io_sendfile() 208 b->file->fd, sb->socket, b->file_pos, size, n); in nxt_conn_io_sendfile() 243 b->file->fd, sb->socket, b->file_pos, size, err); in nxt_conn_io_sendfile()
|
H A D | nxt_http_static.c | 311 nxt_file_t *f, file; in nxt_http_static_send_ready() local 374 file.name = fname; in nxt_http_static_send_ready() 395 file.name = chr->start; in nxt_http_static_send_ready() 405 file.name = (u_char *) "/"; in nxt_http_static_send_ready() 410 file.fd = AT_FDCWD; in nxt_http_static_send_ready() 417 af = file; in nxt_http_static_send_ready() 419 file.name = fname; in nxt_http_static_send_ready() 439 switch (file.error) { in nxt_http_static_send_ready() 502 nxt_file_close(task, &file); in nxt_http_static_send_ready() 506 *f = file; in nxt_http_static_send_ready() [all …]
|
H A D | nxt_http_request.c | 850 && r->body->file->fd != -1) in nxt_http_request_close_handler() 852 nxt_fd_close(r->body->file->fd); in nxt_http_request_close_handler() 854 r->body->file->fd = -1; in nxt_http_request_close_handler()
|
H A D | nxt_openssl.c | 60 static void nxt_openssl_lock(int mode, int type, const char *file, int line); 245 nxt_openssl_lock(int mode, int type, const char *file, int line) in nxt_openssl_lock() argument
|
/unit/src/wasm-wasi-component/ |
H A D | Cargo.lock | 1 # This file is automatically @generated by Cargo.
|
/unit/pkg/docker/ |
H A D | Makefile | 167 @echo container-diff diff --type file daemon://$(CONTAINER_$*) daemon://unit:$(VERSION)-$*
|
/unit/tools/ |
H A D | setup-unit | 111 array read from a file at a given INDEX. 372 is downloaded into a temporary file, open with the editor, and then 918 JSON Path to a JSON file containing a top-level array. 924 from a file at a given INDEX.
|
/unit/pkg/rpm/rpmbuild/SOURCES/ |
H A D | COPYRIGHT.unit-jsc11 | 27 you may not use this file except in compliance with the License.
|
H A D | COPYRIGHT.unit-jsc8 | 27 you may not use this file except in compliance with the License.
|
/unit/pkg/deb/debian/ |
H A D | copyright | 27 you may not use this file except in compliance with the License.
|
/unit/pkg/deb/debian.module/ |
H A D | copyright.unit-jsc11 | 27 you may not use this file except in compliance with the License.
|
H A D | copyright.unit-jsc8 | 27 you may not use this file except in compliance with the License.
|
/unit/src/ruby/ |
H A D | nxt_ruby.c | 203 VALUE module, file, file_obj; in nxt_ruby_hook_procs_load() local 220 file = rb_const_get(rb_cObject, rb_intern("File")); in nxt_ruby_hook_procs_load() 221 file_obj = rb_funcall(file, rb_intern("read"), 1, path); in nxt_ruby_hook_procs_load() 1114 nxt_ruby_rack_file_t *file; in nxt_ruby_rack_file_read() local 1116 file = read_info->data; in nxt_ruby_rack_file_read() 1118 size = nxt_min(size, (size_t) file->rest); in nxt_ruby_rack_file_read() 1120 res = pread(file->fd, dst, size, file->pos); in nxt_ruby_rack_file_read() 1123 file->pos += res; in nxt_ruby_rack_file_read() 1124 file->rest -= res; in nxt_ruby_rack_file_read() 1127 file->rest = 0; in nxt_ruby_rack_file_read() [all …]
|