Lines Matching refs:ptr

47         && buffer_eq_icase_ssn(ds->key.ptr, CONST_STR_LEN("X-Sendfile")))  in http_response_omit_header()
50 && buffer_eq_icase_ssn(ds->key.ptr, CONST_STR_LEN("X-LIGHTTPD-"))) { in http_response_omit_header()
52 && buffer_eq_icase_ssn(ds->key.ptr+sizeof("X-LIGHTTPD-")-1, in http_response_omit_header()
55 off_t limit = strtol(ds->value.ptr, NULL, 10) << 10; /*(*=1024)*/ in http_response_omit_header()
144 if ((ds->key.ptr[0] & 0xdf) == 'X' && http_response_omit_header(r, ds)) in http_response_write_header()
149 memcpy(s+2, ds->key.ptr, klen); in http_response_write_header()
153 memcpy(s+2, ds->value.ptr, vlen); in http_response_write_header()
207 "Path : %s", r->physical.path.ptr); in http_response_physical_path_error()
209 "URI : %s", r->uri.path.ptr); in http_response_physical_path_error()
248 pathinfo = r->physical.path.ptr + len; in http_response_physical_path_check()
252 else if (pathinfo == r->physical.path.ptr) { /*(basedir is "/")*/ in http_response_physical_path_check()
260 r->physical.path.used = pathinfo - r->physical.path.ptr + 1; in http_response_physical_path_check()
282 size_t len = r->physical.path.ptr+pathused-1-pathinfo, reqlen; in http_response_physical_path_check()
285 && buffer_eq_icase_ssn(r->target.ptr + reqlen - len, pathinfo, len)) { in http_response_physical_path_check()
290 buffer_copy_string_len(&r->pathinfo, r->target.ptr + reqlen - len, len); in http_response_physical_path_check()
300 buffer_truncate(&r->physical.path, (size_t)(pathinfo - r->physical.path.ptr)); in http_response_physical_path_check()
423 "Request-URI : %s", r->target.ptr); in http_response_prepare()
425 "URI-scheme : %s", r->uri.scheme.ptr); in http_response_prepare()
427 "URI-authority : %s", r->uri.authority.ptr); in http_response_prepare()
429 "URI-path (clean): %s", r->uri.path.ptr); in http_response_prepare()
440 && r->uri.path.ptr[0] == '*' && r->uri.path.ptr[1] == '\0') in http_response_prepare()
482 b->ptr[len - 1] == '/' && in http_response_prepare()
483 (b->ptr[len - 2] == ' ' || b->ptr[len - 2] == '.')) { in http_response_prepare()
487 while (len > 0 && ( ' ' == b->ptr[len-1] || '.' == b->ptr[len-1] ) ) --len; in http_response_prepare()
512 "Doc-Root : %s", r->physical.doc_root.ptr); in http_response_prepare()
514 "Basedir : %s", r->physical.basedir.ptr); in http_response_prepare()
516 "Rel-Path : %s", r->physical.rel_path.ptr); in http_response_prepare()
518 "Path : %s", r->physical.path.ptr); in http_response_prepare()
539 "Path : %s", r->physical.path.ptr); in http_response_prepare()
541 "URI : %s", r->uri.path.ptr); in http_response_prepare()
718 const char *k = strchr(r->gw_dechunk->b.ptr, '\n'); /*(skip final chunk)*/ in http_response_merge_trailers()