Home
last modified time | relevance | path

Searched refs:err (Results 1 – 16 of 16) sorted by relevance

/lighttpd1.4/src/
H A Dmod_vhostdb_pgsql.c129 int err; in mod_vhostdb_pgsql_query() local
135 BUF_PTR_LEN(&r->uri.authority), &err); in mod_vhostdb_pgsql_query()
137 if (0 != err) return -1; in mod_vhostdb_pgsql_query()
H A Dhttp-header-glue.c979 const char *err = end; in http_response_process_headers() local
980 while (err > value && (err[-1] == ' ' || err[-1] == '\t')) --err; in http_response_process_headers()
981 if (err <= value) continue; /*(might error 502 Bad Gateway)*/ in http_response_process_headers()
982 uint32_t vlen = (uint32_t)(err - value); in http_response_process_headers()
984 (off_t)li_restricted_strtoint64(value, vlen, &err); in http_response_process_headers()
985 if (err != value + vlen) { in http_response_process_headers()
H A Dmod_vhostdb_ldap.c177 …d_authn_ldap_err(log_error_st *errh, const char *file, unsigned long line, const char *fn, int err) in mod_authn_ldap_err() argument
179 log_error(errh, file, line, "ldap: %s: %s", fn, ldap_err2string(err)); in mod_authn_ldap_err()
185 int err; in mod_authn_ldap_opt_err() local
186 ldap_get_option(ld, LDAP_OPT_ERROR_NUMBER, &err); in mod_authn_ldap_opt_err()
187 mod_authn_ldap_err(errh, file, line, fn, err); in mod_authn_ldap_opt_err()
H A Dmod_expire.c85 char *space, *err; in mod_expire_get_offset() local
94 num = strtol(ts, &err, 10); in mod_expire_get_offset()
95 if (*err != ' ') { in mod_expire_get_offset()
H A Dmod_authn_ldap.c183 …_authn_ldap_err(log_error_st *errh, const char *file, unsigned long line, const char *fn, int err);
351 …d_authn_ldap_err(log_error_st *errh, const char *file, unsigned long line, const char *fn, int err) in mod_authn_ldap_err() argument
353 log_error(errh, file, line, "ldap: %s: %s", fn, ldap_err2string(err)); in mod_authn_ldap_err()
359 int err; in mod_authn_ldap_opt_err() local
360 ldap_get_option(ld, LDAP_OPT_ERROR_NUMBER, &err); in mod_authn_ldap_opt_err()
361 mod_authn_ldap_err(errh, file, line, fn, err); in mod_authn_ldap_opt_err()
H A Dmod_wolfssl.c1158 int err, depth; in verify_callback() local
1162 err = X509_STORE_CTX_get_error(ctx); in verify_callback()
1183 err = X509_V_ERR_CERT_CHAIN_TOO_LONG; in verify_callback()
1184 X509_STORE_CTX_set_error(ctx, err); in verify_callback()
1207 err = X509_V_ERR_CERT_REJECTED; in verify_callback()
1208 X509_STORE_CTX_set_error(ctx, err); in verify_callback()
1221 err, X509_verify_cert_error_string(err), depth, buf); in verify_callback()
2774 unsigned long err; in connection_write_cq_ssl() local
2815 while((err = ERR_get_error())) { in connection_write_cq_ssl()
3063 unsigned long err; in mod_openssl_close_notify() local
[all …]
H A Dmod_webdav.c1343 char *err = NULL; in mod_webdav_sqlite3_init()
1356 NULL, NULL, &err) != SQLITE_OK) { in mod_webdav_sqlite3_init()
1361 sqlite3_free(err); in mod_webdav_sqlite3_init()
1497 char *err = NULL; in webdav_db_transaction() local
1506 sqlite3_free(err); in webdav_db_transaction()
3847 int err = XML_ERR_OK; in webdav_parse_chunkqueue() local
3874 err = XML_IO_UNKNOWN; in webdav_parse_chunkqueue()
3882 err = XML_IO_UNKNOWN; in webdav_parse_chunkqueue()
3903 if (XML_ERR_OK == err) { in webdav_parse_chunkqueue()
4763 char *err; in mod_webdav_put_range() local
[all …]
H A Dmod_openssl.c969 int err, depth; in verify_callback() local
973 err = X509_STORE_CTX_get_error(ctx); in verify_callback()
994 err = X509_V_ERR_CERT_CHAIN_TOO_LONG; in verify_callback()
995 X509_STORE_CTX_set_error(ctx, err); in verify_callback()
1021 err = X509_V_ERR_CERT_REJECTED; in verify_callback()
1022 X509_STORE_CTX_set_error(ctx, err); in verify_callback()
1039 err, X509_verify_cert_error_string(err), depth, buf); in verify_callback()
2958 unsigned long err; in mod_openssl_write_err() local
2969 if (0 != (err = ERR_get_error())) { in mod_openssl_write_err()
3000 while ((err = ERR_get_error())) in mod_openssl_write_err()
[all …]
H A Dlemon.c1988 if( err ){ in handleflags()
1990 errline(i,1,err); in handleflags()
2002 if( err ){ in handleflags()
2004 errline(i,1,err); in handleflags()
2030 if( err ){ in handleswitch()
2032 errline(i,0,err); in handleswitch()
2040 if( err ){ in handleswitch()
2050 if( err ){ in handleswitch()
2051 fprintf(err, in handleswitch()
2062 if( err ){ in handleswitch()
[all …]
H A Dconfigfile-glue.c96 char *err; in config_plugin_value_to_int32() local
97 long v = strtol(b->ptr, &err, 10); in config_plugin_value_to_int32()
98 return (*err=='\0' && err != b->ptr && INT32_MIN <= v && v <= INT32_MAX) in config_plugin_value_to_int32()
H A Drequest.c347 li_restricted_strtoint64 (const char *v, const uint32_t vlen, const char ** const err) in li_restricted_strtoint64() argument
363 *err = v+i; in li_restricted_strtoint64()
463 const char *err; in http_request_parse_single_header() local
464 off_t clen = (off_t)li_restricted_strtoint64(v, vlen, &err); in http_request_parse_single_header()
465 if (err == v+vlen) { in http_request_parse_single_header()
H A Drequest.h229 int64_t li_restricted_strtoint64 (const char *v, const uint32_t vlen, const char ** const err);
H A Dmod_extforward.c251 char *err; in mod_extforward_parse_forwarder() local
252 const int nm_bits = strtol(nm_slash + 1, &err, 10); in mod_extforward_parse_forwarder()
254 if (*err || nm_bits <= 0 || !light_isdigit(nm_slash[1])) { in mod_extforward_parse_forwarder()
256 "ERROR: invalid netmask: %s %s", ds->key.ptr, err); in mod_extforward_parse_forwarder()
H A Dh2.c1463 request_h2error_t err = H2_E_COMPRESSION_ERROR; in h2_parse_headers_frame() local
1466 err = H2_E_PROTOCOL_ERROR; in h2_parse_headers_frame()
1467 h2_send_rst_stream(r, r->con, err); in h2_parse_headers_frame()
1471 h2_send_goaway_e(r->con, err); in h2_parse_headers_frame()
H A Dmod_magnet.c3236 const char * const err = lua_tolstring(L, -1, &errlen); in magnet_attract() local
3238 err, errlen, "lua: "); in magnet_attract()
/lighttpd1.4/
H A DNEWS251 * [mod_ssi] check http_chunk_transfer_cqlen for err
319 * [mod_magnet] format multiline err traceback
584 * [build] fix SCons pkg-config err handling (fixes #3066)
1118 * [core] fix crash after specific err in config file
1632 * [mod_deflate] fix potential NULL deref in err case
1792 * [core] retry on some fdevent set/del temporary err
1854 * [core] fix gw_backend spelling of directive in err
2357 * [core] config opt to intercept dynamic handler err (fixes #974)
3339 …* Implement a clean way to open /dev/null and use it to close stdin/out/err in the needed places (…