Lines Matching refs:path
547 return req.path;
550 auto len = req.authority.size() + req.path.size();
569 p = std::copy(std::begin(req.path), std::end(req.path), p);
598 auto path =
601 : req.path.empty() ? req.method == HTTP_OPTIONS ? StringRef::from_lit("*")
603 : req.path;
606 ? path
607 : StringRef{std::begin(path),
608 std::find(std::begin(path), std::end(path), '?')};
630 std::tie(p, last) = copy_escape(path, p, last);
642 std::tie(p, last) = copy_escape(path, p, last);
974 int open_log_file(const char *path) {
976 if (strcmp(path, "/dev/stdout") == 0 ||
977 strcmp(path, "/proc/self/fd/1") == 0) {
981 if (strcmp(path, "/dev/stderr") == 0 ||
982 strcmp(path, "/proc/self/fd/2") == 0) {
987 auto fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC,
992 open(path, O_WRONLY | O_APPEND | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP);