Home
last modified time | relevance | path

Searched refs:errh (Results 1 – 25 of 85) sorted by relevance

1234

/lighttpd1.4/src/
H A Dnetwork_write.c85 static int network_write_error(int fd, log_error_st *errh) { in network_write_error() argument
97 log_error(errh,__FILE__,__LINE__,"send failed: %d %d",lastError,fd); in network_write_error()
109 log_perror(errh,__FILE__,__LINE__,"write failed: %d",fd); in network_write_error()
139 return network_write_error(fd, errh); in network_write_accounting()
156 return network_write_accounting(fd, cq, p_max_bytes, errh, wr, c_len); in network_write_mem_chunk()
387 log_error(errh, __FILE__, __LINE__, in network_write_file_chunk_sendfile()
413 rc = network_writev_mem_chunks(fd, cq, &max_bytes, errh); in network_write_chunkqueue_writev()
415 rc = network_write_mem_chunk(fd, cq, &max_bytes, errh); in network_write_chunkqueue_writev()
441 rc = network_writev_mem_chunks(fd, cq, &max_bytes, errh); in network_write_chunkqueue_sendfile()
443 rc = network_write_mem_chunk(fd, cq, &max_bytes, errh); in network_write_chunkqueue_sendfile()
[all …]
H A Dlog.c228 if (-1 == errh->fd) return NULL; in __attribute_nonnull__()
242 write_all(errh->fd, BUF_PTR_LEN(b)); in __attribute_nonnull__()
263 log_error_va_list_impl (const log_error_st *errh, in log_error_va_list_impl() argument
271 if (NULL == errh) errh = log_errh; in log_error_va_list_impl()
279 log_error_write(errh, b); in log_error_va_list_impl()
287 log_error(log_error_st * const errh, in log_error() argument
299 log_perror (log_error_st * const errh, in log_perror() argument
311 log_error_multiline (log_error_st *errh, in log_error_multiline() argument
322 if (NULL == errh) errh = log_errh; in log_error_multiline()
342 log_error_write(errh, b); in log_error_multiline()
[all …]
H A Dserver.c372 srv->errh = log_set_global_errh(NULL, 0); in server_init()
420 fdlog_free(srv->errh); in server_free()
430 log_perror(srv->errh, __FILE__, __LINE__, in remove_pid_file()
1317 log_error(srv->errh, __FILE__, __LINE__, in server_main_setup()
1442 log_error(srv->errh, __FILE__, __LINE__, in server_main_setup()
1448 log_error(srv->errh, __FILE__, __LINE__, in server_main_setup()
1454 log_error(srv->errh, __FILE__, __LINE__, in server_main_setup()
1734 log_error(srv->errh, __FILE__, __LINE__, in server_main_setup()
1761 log_error(srv->errh, __FILE__, __LINE__, in server_main_setup()
1786 log_error(srv->errh, __FILE__, __LINE__, in server_main_setup()
[all …]
H A Dmod_authn_gssapi.c193 log_error(errh, file, line, "%s", msg->ptr); in mod_authn_gssapi_log_gss_error()
202 log_error(errh, file, line, in mod_authn_gssapi_log_krb5_error()
213 log_perror(r->conf.errh, __FILE__, __LINE__, "mkstemp(): %s", ccname); in mod_authn_gssapi_create_krb5_ccache()
503 log_error(errh, __FILE__, __LINE__, "krb5_cc_resolve() failed when verifying KDC"); in mod_authn_gssapi_verify_krb5_init_creds()
510 log_error(errh, __FILE__, __LINE__, "krb5_cc_initialize() failed when verifying KDC"); in mod_authn_gssapi_verify_krb5_init_creds()
516 log_error(errh, __FILE__, __LINE__, "krb5_cc_store_cred() failed when verifying KDC"); in mod_authn_gssapi_verify_krb5_init_creds()
522 log_error(errh, __FILE__, __LINE__, "krb5_unparse_name() failed when verifying KDC"); in mod_authn_gssapi_verify_krb5_init_creds()
561 log_error(errh, __FILE__, __LINE__, "krb5_rd_req() failed when verifying KDC"); in mod_authn_gssapi_verify_krb5_init_creds()
640 log_error(r->conf.errh, __FILE__, __LINE__, "Empty passwords are not accepted"); in mod_authn_gssapi_basic()
648 log_error(r->conf.errh, __FILE__, __LINE__, "krb5_init_context(): %d", code); in mod_authn_gssapi_basic()
[all …]
H A Dgw_backend.c272 log_error_st * const errh = r->conf.errh; in gw_proc_connect_error() local
274 log_perror(errh, __FILE__, __LINE__, in gw_proc_connect_error()
290 log_error(errh, __FILE__, __LINE__, in gw_proc_connect_error()
338 log_error(errh, __FILE__, __LINE__, in gw_proc_release()
351 log_error(errh, __FILE__, __LINE__, in gw_proc_check_enable()
373 log_error(errh, __FILE__, __LINE__, in gw_proc_waitpid_log()
494 log_error(errh, __FILE__, __LINE__, in gw_spawn_connection()
2007 log_error_st * const errh = r->conf.errh; in gw_write_request() local
2360 log_error_st * const errh = r->con->srv->errh; in gw_recv_response_error() local
2850 log_error_st * const errh = srv->errh; in gw_handle_trigger() local
[all …]
H A Dmod_authn_ldap.c22 log_error_st *errh; member
242 ldc->errh = srv->errh; in SETDEFAULTS_FUNC()
361 mod_authn_ldap_err(errh, file, line, fn, err); in mod_authn_ldap_opt_err()
577 ? mod_authn_ldap_bind(s->errh, ld, in mod_authn_ldap_rebind_proc()
580 : mod_authn_ldap_bind(s->errh, ld, NULL, NULL); in mod_authn_ldap_rebind_proc()
612 s->ldap = mod_authn_ldap_host_init(errh, s); in mod_authn_ldap_search()
628 log_error(errh, __FILE__, __LINE__, in mod_authn_ldap_search()
656 log_error(errh, __FILE__, __LINE__, in mod_authn_ldap_get_dn()
726 log_error_st * const errh = r->conf.errh; in mod_authn_ldap_basic() local
752 dn = mod_authn_ldap_get_dn(errh, p->conf.ldc, in mod_authn_ldap_basic()
[all …]
H A Dchunk.h152 int chunkqueue_open_file_chunk(chunkqueue * restrict cq, log_error_st * const restrict errh);
159 ssize_t chunkqueue_write_chunk (int fd, chunkqueue * restrict cq, log_error_st * restrict errh);
160 …_t chunkqueue_write_chunk_to_pipe (int fd, chunkqueue * restrict cq, log_error_st * restrict errh);
162 int chunkqueue_peek_data (chunkqueue *cq, char **data, uint32_t *dlen, log_error_st * restrict errh…
163 int chunkqueue_read_data (chunkqueue *cq, char *data, uint32_t dlen, log_error_st * restrict errh);
165 buffer * chunkqueue_read_squash (chunkqueue * restrict cq, log_error_st * restrict errh);
186 … chunk_file_view * chunkqueue_chunk_file_viewadj (chunk *c, off_t n, log_error_st * restrict errh);
209 chunkqueue_chunk_file_view (chunk * const c, const off_t n, log_error_st * const restrict errh);
211 chunkqueue_chunk_file_view (chunk * const c, const off_t n, log_error_st * const restrict errh) in chunkqueue_chunk_file_view() argument
221 return chunkqueue_chunk_file_viewadj(c, n, errh); in chunkqueue_chunk_file_view()
[all …]
H A Dmod_openssl.c182 log_error_st *errh; member
738 log_error(errh, __FILE__, __LINE__, in mod_openssl_load_cacerts()
744 log_error(errh, __FILE__, __LINE__, in mod_openssl_load_cacerts()
759 log_error(errh, __FILE__, __LINE__, in mod_openssl_load_cacerts()
1036 log_error_st *errh = hctx->r->conf.errh; in verify_callback() local
1037 log_error(errh, __FILE__, __LINE__, in verify_callback()
1765 log_error_st * const errh = hctx->r->conf.errh; in mod_openssl_acme_tls_1() local
3035 log_error_st * const errh = hctx->errh; in connection_write_cq_ssl() local
3304 hctx->errh = r->conf.errh; in CONNECTION_FUNC()
3364 log_error_st *errh; in mod_openssl_close_notify() local
[all …]
H A Dmod_wolfssl.c203 log_error_st *errh; member
735 log_error(errh, __FILE__, __LINE__, in mod_wolfssl_load_pem_file()
830 log_error(errh, __FILE__, __LINE__, in mod_wolfssl_CTX_use_certificate_chain_file()
969 log_error(srv->errh, __FILE__, __LINE__, in mod_wolfssl_load_cacrls()
1218 log_error_st *errh = hctx->r->conf.errh; in verify_callback() local
1219 log_error(errh, __FILE__, __LINE__, in verify_callback()
1709 log_error_st * const errh = hctx->r->conf.errh; in mod_openssl_acme_tls_1() local
2736 log_error_st * const errh = hctx->errh; in connection_write_cq_ssl() local
3004 hctx->errh = r->conf.errh; in CONNECTION_FUNC()
3064 log_error_st *errh; in mod_openssl_close_notify() local
[all …]
H A Dmod_vhostdb_ldap.c26 log_error_st *errh; member
143 log_error(srv->errh, __FILE__, __LINE__, in mod_vhostdb_dbconf_setup()
187 mod_authn_ldap_err(errh, file, line, fn, err); in mod_authn_ldap_opt_err()
289 mod_authn_ldap_err(errh, __FILE__, __LINE__, in mod_authn_ldap_host_init()
334 return mod_authn_ldap_bind(s->errh, ld, s->binddn, s->bindpw); in mod_authn_ldap_rebind_proc()
366 s->ldap = mod_authn_ldap_host_init(errh, s); in mod_authn_ldap_search()
382 log_error(errh, __FILE__, __LINE__, in mod_authn_ldap_search()
412 log_error_st * const errh = r->conf.errh; in mod_vhostdb_ldap_query() local
413 dbconf->errh = errh; in mod_vhostdb_ldap_query()
441 log_error(errh, __FILE__, __LINE__, in mod_vhostdb_ldap_query()
[all …]
H A Dchunk.c778 log_perror(errh, __FILE__, __LINE__, in chunkqueue_get_append_newtempfile()
810 log_perror(errh, __FILE__, __LINE__, in chunkqueue_get_append_tempfile()
826 log_perror(errh, __FILE__, __LINE__, in chunkqueue_append_tempfile_err()
838 log_perror(errh, __FILE__, __LINE__, in chunkqueue_append_tempfile_err()
874 && 0 != chunkqueue_to_tempfiles(dest, errh)) { in chunkqueue_append_mem_to_tempfile()
1362 return chunk_open_file_chunk(cq->first, errh); in chunkqueue_open_file_chunk()
1406 if (0 != chunk_open_file_chunk(c, errh)) in chunkqueue_write_chunk_file()
1425 chunkqueue_chunk_file_view(c, len, errh); in chunkqueue_write_chunk_file()
1477 return chunkqueue_write_chunk(fd, cq, errh); in chunkqueue_write_chunk_to_pipe()
1554 log_error_st * const errh) in chunkqueue_peek_data() argument
[all …]
H A Dmod_gnutls.c156 log_error_st *errh; member
179 static void elog(log_error_st * const errh, in elog() argument
191 static void elogf(log_error_st * const errh, in elogf() argument
200 elog(errh, file, line, rc, msg); in elogf()
532 elogf(errh, __FILE__, __LINE__, rc, in mod_gnutls_load_config_crts()
1274 log_error_st * const errh = hctx->r->conf.errh; in mod_gnutls_acme_tls_1() local
1550 log_error_st *errh = hctx->r->conf.errh; in mod_gnutls_client_hello_hook() local
1572 log_error_st *errh = hctx->r->conf.errh; in mod_gnutls_client_hello_hook() local
2401 log_error_st * const errh = hctx->errh; in connection_write_cq_ssl() local
2588 log_error_st *errh = plugin_data_singleton->srv->errh; in mod_gnutls_debug_cb() local
[all …]
H A Dsock_addr.c375 log_error(errh, __FILE__, __LINE__, in sock_addr_nameinfo_append_buffer()
393 log_error(errh, __FILE__, __LINE__, in sock_addr_nameinfo_append_buffer()
410 log_error(errh, __FILE__, __LINE__, in sock_addr_nameinfo_append_buffer()
599 log_error(errh, __FILE__, __LINE__, in sock_addr_from_str_hints()
604 log_error(errh, __FILE__, __LINE__, in sock_addr_from_str_hints()
638 log_perror(errh, __FILE__, __LINE__, in sock_addr_from_str_numeric()
643 log_error(errh, __FILE__, __LINE__, in sock_addr_from_str_numeric()
657 log_error(errh, __FILE__, __LINE__, in sock_addr_from_str_numeric()
667 UNUSED(errh); in sock_addr_from_str_numeric()
697 log_error(errh, __FILE__, __LINE__,
[all …]
H A Dfdlog_maint.c248 fdlog_files_flush (fdlog_st * const errh, const int memrel) in fdlog_files_flush() argument
257 log_perror(errh, __FILE__, __LINE__, in fdlog_files_flush()
266 fdlog_files_cycle (fdlog_st * const errh) in fdlog_files_cycle() argument
268 fdlog_files_flush(errh, 0); in fdlog_files_cycle()
279 log_perror(errh, __FILE__, __LINE__, in fdlog_files_cycle()
285 log_perror(errh, __FILE__, __LINE__, in fdlog_files_cycle()
309 fdlog_closeall (fdlog_st * const errh) in fdlog_closeall() argument
311 fdlog_files_close(errh); in fdlog_closeall()
312 fdlog_pipes_close(errh); in fdlog_closeall()
317 fdlog_flushall (fdlog_st * const errh) in fdlog_flushall() argument
[all …]
H A Ddata_config.c78 int data_config_pcre_compile(data_config * const dc, const int pcre_jit, log_error_st * const errh)… in data_config_pcre_compile() argument
90 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
100 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
111 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
116 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
136 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
145 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
154 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
160 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
171 log_error(errh, __FILE__, __LINE__, in data_config_pcre_compile()
H A Dconfigfile.c1213 p->defaults.errh = srv->errh; in config_insert()
1615 errh->fd = -1; in config_log_error_open_syslog()
1688 force_assert(srv->errh); in config_log_error_open()
1708 errh = srv->errh; in config_log_error_open()
1727 if (errh) { in config_log_error_open()
1731 p->defaults.errh = srv->errh = fdlog; in config_log_error_open()
1737 if (0 == i && errh != srv->errh) /*(top-level server.breakagelog)*/ in config_log_error_open()
1738 serrh = errh; in config_log_error_open()
1749 srv->errh->fd = -1; in config_log_error_open()
1834 log_error_st *errh; member
[all …]
H A Dhttp_chunk.c50 return chunkqueue_append_mem_to_tempfile(cq, b.ptr, b.used-1, errh); in http_chunk_len_append_tempfile()
158 log_error_st * const errh = r->conf.errh; in http_chunk_append_to_tempfile() local
161 && 0 != http_chunk_len_append_tempfile(cq, len, errh)) in http_chunk_append_to_tempfile()
164 if (0 != chunkqueue_append_mem_to_tempfile(cq, mem, len, errh)) in http_chunk_append_to_tempfile()
178 log_error_st * const errh = r->conf.errh; in http_chunk_append_cq_to_tempfile() local
181 && 0 != http_chunk_len_append_tempfile(cq, len, errh)) in http_chunk_append_cq_to_tempfile()
184 if (0 != chunkqueue_steal_with_tempfiles(cq, src, len, errh)) in http_chunk_append_cq_to_tempfile()
304 log_error(r->conf.errh, __FILE__, __LINE__, in http_chunk_decode_append_data()
321 log_error(r->conf.errh, __FILE__, __LINE__, in http_chunk_decode_append_data()
336 log_error(r->conf.errh, __FILE__, __LINE__, in http_chunk_decode_append_data()
[all …]
H A Dmod_nss.c199 log_error_st *errh; member
221 static void elog(log_error_st * const errh, in elog() argument
235 static void elogf(log_error_st * const errh, in elogf() argument
244 elog(errh, file, line, msg); in elogf()
460 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_pem_file()
566 log_error(errh, __FILE__, __LINE__, in mod_nss_load_pem_crts()
653 int rc = mod_nss_load_file(fn, &f, errh); in mod_nss_load_config_crls()
820 elogf(errh, __FILE__, __LINE__, in mod_nss_load_config_pkey()
1229 log_error_st * const errh = hctx->r->conf.errh; in mod_nss_acme_tls_1() local
2179 log_error_st * const errh = hctx->errh; in connection_write_cq_ssl() local
[all …]
H A Dmod_mbedtls.c202 log_error_st *errh; member
234 static void elog(log_error_st * const errh, in elog() argument
244 #define elog(errh, file, line, rc, msg) \ argument
251 static void elogf(log_error_st * const errh, in elogf() argument
260 elog(errh, file, line, rc, msg); in elogf()
421 elog(srv->errh, __FILE__,__LINE__, rc, in mod_mbedtls_init_once_mbedtls()
1077 log_error_st * const errh = hctx->r->conf.errh; in mod_mbedtls_acme_tls_1() local
1454 elog(srv->errh, __FILE__,__LINE__, rc, in network_init_ssl()
1966 log_error(srv->errh, __FILE__, __LINE__, in SETDEFAULTS_FUNC()
2052 log_error_st * const errh = hctx->errh; in connection_write_cq_ssl() local
[all …]
H A Dnetwork.c51 log_error(srv->errh, __FILE__, __LINE__, in network_server_handle_fdevent()
185 log_error(errh, __FILE__, __LINE__, in network_abstract_socket_parse()
214 log_error(srv->errh, __FILE__, __LINE__, in network_host_parse_addr()
367 log_error(srv->errh, __FILE__, __LINE__, in network_server_init()
387 log_error(srv->errh, __FILE__, __LINE__, in network_server_init()
411 log_error(srv->errh, __FILE__, __LINE__, in network_server_init()
479 log_error(srv->errh, __FILE__, __LINE__, in network_server_init()
492 log_perror(srv->errh, __FILE__, __LINE__, in network_server_init()
537 log_perror(srv->errh, __FILE__, __LINE__, in network_server_init()
551 log_perror(srv->errh, __FILE__, __LINE__, in network_server_init()
[all …]
H A Dconfigfile-glue.c131 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
188 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
216 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
222 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
244 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
250 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
274 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
279 log_error(srv->errh, __FILE__, __LINE__, in config_plugin_values_init_block()
461 log_error(r->conf.errh, __FILE__, __LINE__, in config_check_cond_nocache()
527 log_error(r->conf.errh, __FILE__, __LINE__, in config_check_cond_nocache_eval()
[all …]
H A Dmod_auth.c373 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse()
380 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse()
430 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse()
455 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse_array()
479 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse_array()
487 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse_array()
497 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse_array()
504 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse_array()
512 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse_array()
519 log_error(errh, __FILE__, __LINE__, in mod_auth_require_parse_array()
[all …]
H A Dresponse.c420 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
422 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
424 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
426 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
428 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
430 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
509 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
536 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
538 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
540 log_error(r->conf.errh, __FILE__, __LINE__, in http_response_prepare()
[all …]
H A Dmod_ssi.c69 log_error_st *errh; member
75 hctx->errh = errh; in handler_ctx_init()
759 log_error(r->conf.errh, __FILE__, __LINE__, in process_ssi_stmt()
862 log_error(r->conf.errh, __FILE__, __LINE__, in process_ssi_stmt()
868 log_error(r->conf.errh, __FILE__, __LINE__, in process_ssi_stmt()
1077 log_error(r->conf.errh, __FILE__, __LINE__, in process_ssi_stmt()
1080 log_error(r->conf.errh, __FILE__, __LINE__, in process_ssi_stmt()
1133 log_error_st *errh = p->errh; in process_ssi_stmt() local
1143 log_error(errh, __FILE__, __LINE__, in process_ssi_stmt()
1204 log_error(r->conf.errh, __FILE__, __LINE__, in process_ssi_stmt()
[all …]
H A Dfdlog.h28 void fdlog_closeall (fdlog_st *errh);
31 void fdlog_flushall (fdlog_st *errh);
34 void fdlog_files_flush (fdlog_st *errh, int memrel);
37 void fdlog_files_cycle (fdlog_st *errh);

1234