Lines Matching refs:ptr

76 		    0 != strncasecmp(ds->key->ptr, CONST_STR_LEN("X-LIGHTTPD-")) &&  in http_response_write_header()
77 0 != strncasecmp(ds->key->ptr, CONST_STR_LEN("X-Sendfile"))) { in http_response_write_header()
78 if (0 == strcasecmp(ds->key->ptr, "Date")) have_date = 1; in http_response_write_header()
79 if (0 == strcasecmp(ds->key->ptr, "Server")) have_server = 1; in http_response_write_header()
80 if (0 == strcasecmp(ds->key->ptr, "Content-Encoding") && 304 == con->http_status) continue; in http_response_write_header()
104 strftime(srv->ts_date_str->ptr, srv->ts_date_str->size - 1, in http_response_write_header()
107 srv->ts_date_str->used = strlen(srv->ts_date_str->ptr) + 1; in http_response_write_header()
197 BIO_read(bio, envds->value->ptr, n); in https_add_ssl_entries()
199 envds->value->ptr[n] = '\0'; in https_add_ssl_entries()
287 if (NULL != (qstr = strchr(con->request.uri->ptr, '#'))) { in http_response_prepare()
288 con->request.uri->used = qstr - con->request.uri->ptr; in http_response_prepare()
289 con->request.uri->ptr[con->request.uri->used++] = '\0'; in http_response_prepare()
293 if (NULL != (qstr = strchr(con->request.uri->ptr, '?'))) { in http_response_prepare()
295 buffer_copy_string_len(con->uri.path_raw, con->request.uri->ptr, qstr - con->request.uri->ptr); in http_response_prepare()
341 con->uri.path_raw->ptr[0] == '*' && con->uri.path_raw->ptr[1] == '\0') { in http_response_prepare()
391 con->uri.path->ptr[0] == '*' && con->uri.path_raw->ptr[1] == '\0') { in http_response_prepare()
454 b->ptr[b->used-2] == '/' && in http_response_prepare()
455 (b->ptr[b->used-3] == ' ' || in http_response_prepare()
456 b->ptr[b->used-3] == '.')) { in http_response_prepare()
457 b->ptr[b->used--] = '\0'; in http_response_prepare()
461 if (b->ptr[i] == ' ' || in http_response_prepare()
462 b->ptr[i] == '.') { in http_response_prepare()
463 b->ptr[b->used--] = '\0'; in http_response_prepare()
516 con->physical.rel_path->ptr[0] == '/') { in http_response_prepare()
517 …buffer_append_string_len(con->physical.path, con->physical.rel_path->ptr + 1, con->physical.rel_pa… in http_response_prepare()
588 if (con->uri.path->ptr[con->uri.path->used - 2] != '/') { in http_response_prepare()
650 buffer_copy_string_len(con->physical.path, srv->tmp_buf->ptr, slash - srv->tmp_buf->ptr); in http_response_prepare()
663 slash = strrchr(srv->tmp_buf->ptr, '/'); in http_response_prepare()
671 …} while ((found == 0) && (slash != NULL) && ((size_t)(slash - srv->tmp_buf->ptr) > (con->physical.… in http_response_prepare()
711 con->uri.path->ptr[con->uri.path->used - 1] = '\0'; in http_response_prepare()