/httpd/modules/proxy/ |
H A D | ajp_utils.c | 29 apr_status_t rc, rv; local 36 rc = ajp_msg_create(r->pool, AJP_PING_PONG_SZ, &msg); 37 if (rc != APR_SUCCESS) { 40 return rc; 43 rc = ajp_msg_serialize_cping(msg); 44 if (rc != APR_SUCCESS) { 47 return rc; 50 rc = ajp_ilink_send(sock, msg); 52 if (rc != APR_SUCCESS) { 55 return rc; [all...] |
H A D | ajp_header.c | 38 const char *rc = NULL; local 41 rc = response_trans_headers[sc - 1]; 44 return rc; 543 apr_status_t rc; local 548 rc = ajp_msg_get_uint16(msg, &status); 550 if (rc != APR_SUCCESS) { 553 return rc; 557 rc = ajp_msg_get_string(msg, &ptr); 558 if (rc == APR_SUCCESS) { 571 rc 674 apr_status_t rc; local 710 apr_status_t rc; local 764 apr_status_t rc; local 787 apr_status_t rc; local 833 apr_status_t rc; local 857 apr_status_t rc; local [all...] |
H A D | ajp_msg.c | 120 apr_status_t rc = APR_SUCCESS; local 129 rc = ajp_msg_dump(r->pool, msg, err, count, &buf); 130 if (rc == APR_SUCCESS) { 139 return rc; 611 apr_status_t rc; local 614 if ((rc = ajp_msg_append_uint8(msg, CMD_AJP13_PING)) != APR_SUCCESS) 615 return rc; 632 apr_status_t rc; local 635 if ((rc = ajp_msg_append_uint8(msg, CMD_AJP13_CPING)) != APR_SUCCESS) 636 return rc; [all...] |
H A D | mod_proxy_connect.c | 213 int failed, rc; local 349 rc = ap_run_pre_connection(backconn, sock); 350 if (rc != OK && rc != DONE) { 353 "pre_connection setup failed (%d)", rc);
|
/httpd/server/ |
H A D | connection.c | 204 int rc; local 207 rc = ap_run_pre_connection(c, csd); 208 if (rc != OK && rc != DONE) {
|
H A D | main.c | 478 int rc = OK; local 800 rc = ap_run_mpm(pconf, plog, ap_server_conf); 804 } while (rc == OK); 806 if (rc == DONE) { 807 rc = OK; 809 else if (rc != OK) { 813 destroy_and_exit_process(process, rc);
|
H A D | util_pcre.c | 199 int rc; local 224 rc = pcre_exec((const pcre *)preg->re_pcre, NULL, buff, (int)len, 227 if (rc == 0) 228 rc = nmatch; /* All captured slots were filled in */ 230 if (rc >= 0) { 232 for (i = 0; i < (apr_size_t)rc; i++) { 246 switch (rc) {
|
H A D | apreq_util.c | 803 apr_status_t rc; local 809 rc = apr_temp_dir_get(&path, pool); 810 if (rc != APR_SUCCESS) 811 return rc; 813 rc = apr_filepath_merge(&tmpl, path, "apreqXXXXXX", 816 if (rc != APR_SUCCESS) 817 return rc; 828 rc = apr_file_mktemp(fp, tmpl, flag, pool); 830 if (rc == APR_SUCCESS) { 838 return rc; [all...] |
/httpd/modules/metadata/ |
H A D | mod_version.c | 147 int rc; local 163 rc = !ap_regexec(compiled, to_match, 0, NULL, 0); 166 return rc;
|
/httpd/modules/ssl/ |
H A D | mod_ssl.c | 519 int rc; local 552 rc = ssl_run_pre_handshake(c, ssl, sslconn->is_proxy ? 1 : 0); 553 if (rc != OK && rc != DECLINED) { 554 return rc;
|
H A D | ssl_ct_sct.c | 29 int rc; local 39 rc = EVP_VerifyFinal(&ctx, sctf->sig, sctf->siglen, pkey); 42 return rc == 1 ? APR_SUCCESS : APR_EINVAL;
|
H A D | ssl_engine_ocsp.c | 133 int rc = V_OCSP_CERTSTATUS_GOOD; local 154 rc = V_OCSP_CERTSTATUS_UNKNOWN; 157 if (rc == V_OCSP_CERTSTATUS_GOOD) { 162 "OCSP response not successful: %d", rc); 163 rc = V_OCSP_CERTSTATUS_UNKNOWN; 167 if (rc == V_OCSP_CERTSTATUS_GOOD) { 173 rc = V_OCSP_CERTSTATUS_UNKNOWN; 177 if (rc == V_OCSP_CERTSTATUS_GOOD && 182 rc = V_OCSP_CERTSTATUS_UNKNOWN; 185 if (rc [all...] |
H A D | ssl_ct_log_config.c | 38 int rc; local 55 rc = apr_dbd_select(driver, p, handle, &res, 60 if (rc != 0) { 314 int rc; local 334 rc = apr_dbd_select(driver, p, handle, &res, 337 if (rc != 0) { 344 rc = apr_dbd_num_tuples(driver, res); 345 switch (rc) {
|
H A D | ssl_util_ssl.c | 79 EVP_PKEY *rc; local 86 rc = PEM_read_bio_PrivateKey(bioS, key, cb, s); 89 if (rc == NULL) { 99 rc = d2i_PrivateKey_bio(bioS, NULL); 102 if (rc == NULL) { 106 rc = d2i_PrivateKey_bio(bioS, NULL); 110 if (rc != NULL && key != NULL) { 113 *key = rc; 115 return rc; 127 int rc; local [all...] |
/httpd/os/win32/ |
H A D | ap_regkey.c | 67 LONG rc; local 87 rc = RegCreateKeyExW(parentkey->hkey, wkeyname, 0, NULL, 0, 90 rc = RegOpenKeyExW(parentkey->hkey, wkeyname, 0, access, &hkey); 97 rc = RegCreateKeyEx(parentkey->hkey, keyname, 0, NULL, 0, 100 rc = RegOpenKeyEx(parentkey->hkey, keyname, 0, access, &hkey); 103 if (rc != ERROR_SUCCESS) { 104 return APR_FROM_OS_ERROR(rc); 134 LONG rc; local 147 rc = RegDeleteKeyW(parent->hkey, wkeyname); 159 rc 187 LONG rc; local 292 LONG rc; local 351 LONG rc; local 410 LONG rc; local 614 LONG rc; local [all...] |
/httpd/support/ |
H A D | passwd_common.c | 53 int abort_on_oom(int rc) argument
|
H A D | htdigest.c | 70 static void cleanup_tempfile_and_exit(int rc) argument 75 exit(rc);
|
/httpd/modules/cache/ |
H A D | mod_file_cache.c | 131 apr_status_t rc; local 141 if ((rc = apr_stat(&tmp.finfo, fspec, APR_FINFO_MIN, 143 ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server, APLOGNO(00795) 158 rc = apr_file_open(&fd, fspec, APR_READ | APR_BINARY | APR_XTHREAD, 160 if (rc != APR_SUCCESS) { 161 ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server, APLOGNO(00798) 177 if ((rc = apr_mmap_create(&new_file->mm, fd, 0, 181 ap_log_error(APLOG_MARK, APLOG_WARNING, rc, cmd->server, APLOGNO(00799) 313 int rc = OK; local 375 rc [all...] |
H A D | mod_socache_dbm.c | 271 apr_status_t rc; local 285 if ((rc = apr_dbm_open(&dbm, ctx->data_file, APR_DBM_RWCREATE, 287 ap_log_error(APLOG_MARK, APLOG_ERR, rc, s, APLOGNO(00809) 291 return rc; 293 rc = apr_dbm_fetch(dbm, dbmkey, &dbmval); 294 if (rc != APR_SUCCESS) {
|
/httpd/modules/lua/ |
H A D | lua_dbd.c | 63 apr_status_t rc = 0; local 69 rc = apr_dbd_close(db->driver, db->handle); 85 lua_pushnumber(L, rc); 129 apr_status_t rc = 0; local 134 rc = apr_dbd_check_conn(db->driver, db->pool, db->handle); 135 if (rc == APR_SUCCESS) { 156 apr_status_t rc = 0; local 164 rc = apr_dbd_query(db->driver, db->handle, &x, statement); 166 rc = 0; 170 if (rc 312 apr_status_t rc = 0; local 386 apr_status_t rc = 0; local 477 apr_status_t rc = 0; local 547 apr_status_t rc = 0; local 733 apr_status_t rc = 0; local [all...] |
H A D | lua_vmprep.c | 362 int rc; local 365 rc = luaL_loadfile(L, spec->file); 366 if (rc != 0) { 369 rc == LUA_ERRMEM ? "memory allocation error" 527 int rc; local 530 rc = luaL_loadfile(L, spec->file); 531 if (rc != 0) { 534 rc == LUA_ERRMEM ? "memory allocation error"
|
/httpd/modules/core/ |
H A D | mod_watchdog.c | 266 apr_status_t rc; local 269 rc = apr_thread_mutex_create(&w->startup, APR_THREAD_MUTEX_UNNESTED, p); 270 if (rc != APR_SUCCESS) 271 return rc; 275 rc = apr_proc_mutex_child_init(&w->mutex, 277 if (rc != APR_SUCCESS) 278 return rc; 288 rc = apr_thread_create(&w->thread, NULL, wd_worker, w, p); 289 if (rc) { 297 return rc; [all...] |
/httpd/server/mpm/mpmt_os2/ |
H A D | mpmt_os2.c | 115 ULONG rc; local 122 rc = DosGetNamedSharedMem((PPVOID)&parent_info, listener_shm_name, PAG_READ); 123 is_parent_process = rc != 0; 126 if (rc == 0) { 198 ULONG rc; local 215 rc = DosAllocSharedMem((PPVOID)&parent_info, listener_shm_name, 219 if (rc) { 220 ap_log_error(APLOG_MARK, APLOG_ALERT, APR_FROM_OS_ERROR(rc), s, APLOGNO(00203) 234 rc = DosCreateMutexSem(NULL, &ap_mpm_accept_mutex, DC_SEM_SHARED, FALSE); 236 if (rc) { 333 ULONG rc; local [all...] |
H A D | mpmt_os2_child.c | 100 ULONG rc, c; local 117 rc = DosCreateEventSem(NULL, &shutdown_event, 0, FALSE); 119 if (rc) { 120 ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(rc), ap_server_conf, APLOGNO(00189) 126 rc = DosGetNamedSharedMem(&sb_mem, ap_scoreboard_fname, 129 if (rc) { 130 ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(rc), ap_server_conf, APLOGNO(00190) 139 rc = DosOpenMutexSem(NULL, &ap_mpm_accept_mutex); 141 if (rc) { 142 ap_log_error(APLOG_MARK, APLOG_ERR, APR_FROM_OS_ERROR(rc), ap_server_con 355 int rc; local 420 ULONG rc; local [all...] |
/httpd/modules/cluster/ |
H A D | mod_heartmonitor.c | 621 apr_status_t rc; local 635 rc = apr_poll(&pfd, 1, &n, timeout); 641 if (rc == APR_SUCCESS && (pfd.rtnevents & APR_POLLIN)) {
|