/unit/docs/ |
H A D | unit-openapi.yaml | 4395 summary: "400 error response" 4397 error: "Invalid JSON." 4408 summary: "404 error response" 4410 error: "Value doesn't exist." 4413 summary: "500 error response" 4415 error: "Failed to apply new configuration." 5114 description: "Internal server error; the configuration wasn't applied. 5151 description: "JSON message on error."
|
/unit/ |
H A D | CHANGES | 25 error. 64 *) Bugfix: requests larger than about 64MiB could cause error in Wasm 125 *) Bugfix: PHP error handling (added missing 403 and 404 errors). 178 *) Bugfix: fix error in connection statistics when using proxy. 184 error (fixed with a 301 re-direct). 186 *) Bugfix: missing error checks in the C API. 573 *) Bugfix: time in error log messages from PHP applications could lag. 1010 *) Bugfix: 503 error occurred if Go application did not write response 1035 there was an error while initialization.
|
/unit/src/ |
H A D | nxt_router.c | 2898 uint8_t error; in nxt_router_listen_socket_error() 2922 error = *p++; in nxt_router_listen_socket_error() 2926 + sa->length + socket_errors[error].length + (in->mem.free - p); in nxt_router_listen_socket_error() 2937 &socket_errors[error], in->mem.free - p, p); in nxt_router_listen_socket_error() 4060 if (r->error) { in nxt_router_response_ready_handler()
|
H A D | nxt_main_process.c | 26 nxt_socket_error_t error; member 1140 ls.error = NXT_SOCKET_ERROR_SYSTEM; in nxt_main_port_socket_handler() 1165 *out->mem.free++ = (uint8_t) ls.error; in nxt_main_port_socket_handler() 1195 ls->error = NXT_SOCKET_ERROR_NOINET6; in nxt_main_listening_socket() 1244 ls->error = NXT_SOCKET_ERROR_PATH; in nxt_main_listening_socket() 1254 ls->error = NXT_SOCKET_ERROR_PORT; in nxt_main_listening_socket() 1612 goto error; in nxt_main_port_conf_store_handler() 1618 goto error; in nxt_main_port_conf_store_handler() 1629 goto error; in nxt_main_port_conf_store_handler() 1639 goto error; in nxt_main_port_conf_store_handler() [all …]
|
H A D | nxt_conf_validation.c | 1522 end = nxt_vsprintf(error, error + NXT_MAX_ERROR_STR, fmt, args); in nxt_conf_vldt_error() 1525 size = end - error; in nxt_conf_vldt_error() 1799 goto error; in nxt_conf_vldt_pass() 1805 goto error; in nxt_conf_vldt_pass() 1811 goto error; in nxt_conf_vldt_pass() 1834 goto error; in nxt_conf_vldt_pass() 1840 goto error; in nxt_conf_vldt_pass() 1885 error: in nxt_conf_vldt_pass() 2614 goto error; in nxt_conf_vldt_app_name() 2620 goto error; in nxt_conf_vldt_app_name() [all …]
|
H A D | nxt_js.c | 347 nxt_js_test(nxt_js_conf_t *jcf, nxt_str_t *str, u_char *error) in nxt_js_test() argument 368 (void) nxt_js_error(vm, error); in nxt_js_test() 472 nxt_js_error(njs_vm_t *vm, u_char *error) in nxt_js_error() argument 486 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, "\"%V\"%Z", &err); in nxt_js_error()
|
H A D | nxt_var.h | 57 nxt_int_t nxt_var_test(nxt_tstr_state_t *state, nxt_str_t *str, u_char *error);
|
H A D | nxt_var.c | 40 nxt_work_handler_t error; member 389 nxt_var_test(nxt_tstr_state_t *state, nxt_str_t *str, u_char *error) in nxt_var_test() argument 402 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_var_test() 412 nxt_sprintf(error, error + NXT_MAX_ERROR_STR, in nxt_var_test()
|
H A D | nxt_file.h | 80 nxt_err_t error; member
|
H A D | nxt_file.c | 23 file->error = (file->fd == -1) ? nxt_errno : 0; 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() 111 file->error = (n < 0) ? nxt_errno : 0; in nxt_file_write() 124 offset, file->error); in nxt_file_write() 139 file->error = (n <= 0) ? nxt_errno : 0; in nxt_file_read() 152 offset, file->error); in nxt_file_read() 264 file->error = (n != 0) ? nxt_errno : 0; in nxt_file_info() [all …]
|
H A D | nxt_conn_write.c | 28 c->socket.fd, c->socket.error, c->block_write); in nxt_conn_io_write() 30 if (c->socket.error != 0 || c->block_write) { in nxt_conn_io_write() 31 goto error; in nxt_conn_io_write() 46 sb.error = 0; in nxt_conn_io_write() 61 c->socket.error = sb.error; in nxt_conn_io_write() 139 error: in nxt_conn_io_write() 240 sb->error = err; in nxt_conn_io_sendfile() 341 sb->error = err; in nxt_conn_io_writev() 383 sb->error = err; in nxt_conn_io_send() 496 c->socket.error = err; in nxt_event_conn_io_writev() [all …]
|
H A D | nxt_conf.h | 74 nxt_str_t error; member 105 nxt_conf_json_error_t *error);
|
H A D | nxt_conf.c | 1411 goto error; in nxt_conf_json_parse_value() 1423 goto error; in nxt_conf_json_parse_value() 1433 goto error; in nxt_conf_json_parse_value() 1441 goto error; in nxt_conf_json_parse_value() 1471 error: in nxt_conf_json_parse_value() 1642 goto error; in nxt_conf_json_parse_object() 1667 error: in nxt_conf_json_parse_object() 1738 goto error; in nxt_conf_json_parse_array() 1804 goto error; in nxt_conf_json_parse_array() 1821 error: in nxt_conf_json_parse_array() [all …]
|
H A D | nxt_http_static.c | 400 file.error = NXT_EACCES; in nxt_http_static_send_ready() 439 switch (file.error) { in nxt_http_static_send_ready() 480 fname, chr, file.error); in nxt_http_static_send_ready() 484 fname, file.error); in nxt_http_static_send_ready() 488 nxt_log(task, level, "opening \"%s\" failed %E", fname, file.error); in nxt_http_static_send_ready() 869 if (nxt_slow_path(fb == NULL || r->error)) { in nxt_http_static_buf_completion()
|
H A D | nxt_http_request.c | 810 r->error = 1; in nxt_http_request_error_handler()
|
H A D | nxt_openssl.c | 1253 if (c->socket.error != 0) { 1413 sb->error = c->socket.error; 1454 if (c->socket.timedout || c->socket.error != 0) { 1590 c->socket.error = sys_err; 1603 c->socket.error = 1000; /* Nonexistent errno code. */
|
H A D | nxt_php_sapi.c | 402 #error PHP is built with thread safety and broken signals. in nxt_php_setup()
|
/unit/auto/modules/ |
H A D | java | 47 echo $0: error: invalid Java option \"$nxt_option\" 79 $echo $0: error: Java home directory not found. 94 $echo $0: error: java executable not found. 111 $echo $0: error: java.home not found. 134 $echo $0: error: javac not found. 160 $echo $0: error: java executable not found. 170 $echo $0: error: library path not found. 204 $echo $0: error: no JNI found. 215 $echo $0: error: duplicate \"$NXT_JAVA_MODULE\" module configured.
|
H A D | wasm-wasi-component | 31 echo $0: error: invalid $NXT_WCM_MODULE option \"$nxt_option\" 76 $echo $0: error: duplicate \"$NXT_WCM_MODULE\" module configured.
|
H A D | conf | 46 echo $0: error: invalid module \"$nxt_module\".
|
H A D | nodejs | 34 echo $0: error: invalid Node option \"$nxt_option\" 75 $echo $0: error: no Node found. 93 $echo $0: error: no npm found. 111 $echo $0: error: no node-gyp found. 118 $echo $0: error: duplicate \"$NXT_NODE\" package configured. 197 echo "error: to make ${NXT_NODE}-local-install you need either"; \\
|
/unit/tools/ |
H A D | README.md | 52 The error log is monitored; when changes occur, new log entries are shown. 56 | `-l` \| `--nolog` | Do not monitor the error log after configuration changes.
|
/unit/src/nodejs/unit-http/ |
H A D | http_server.js | 39 ServerResponse.prototype.destroy = function destroy(error) { argument
|
H A D | websocket_connection.js | 170 WebSocketConnection.prototype.handleSocketError = function(error) { argument 171 this._debug('handleSocketError: %j', error); 178 this.closeDescription = 'Socket Error: ' + error.syscall + ' ' + error.code; 183 this.emit('error', error); 185 this.socket.destroy(error);
|
/unit/src/wasm/ |
H A D | nxt_rt_wasmtime.c | 44 if (error == NULL && trap == NULL) { in nxt_wasmtime_err_msg() 48 if (error != NULL) { in nxt_wasmtime_err_msg() 50 wasmtime_error_delete(error); in nxt_wasmtime_err_msg() 123 wasmtime_error_t *error; in nxt_wasmtime_execute_hook() local 146 wasmtime_error_t *error; in nxt_wasmtime_execute_request() local 273 wasmtime_error_t *error; in nxt_wasmtime_wasi_init() local 288 if (error != NULL) { in nxt_wasmtime_wasi_init() 305 wasmtime_error_t *error; in nxt_wasmtime_init_memory() local 345 wasmtime_error_t *error; in nxt_wasmtime_init() local 354 if (error != NULL) { in nxt_wasmtime_init() [all …]
|