Lines Matching defs:path
38 ":path",
672 char path[256], sym[2048];
690 lws_snprintf(path, sizeof(path) - 1, "%s/%s", origin, uri);
698 fops = lws_vfs_select_fops(wsi->a.context->fops, path, &vpath);
704 path, vpath, &fflags);
707 __func__, path, errno);
720 lwsl_info("unable to stat %s\n", path);
727 MultiByteToWideChar(CP_UTF8, 0, path, -1, buf, LWS_ARRAY_SIZE(buf));
729 lwsl_info("unable to stat %s\n", path);
734 if (stat(path, &st)) {
735 lwsl_info("unable to stat %s\n", path);
746 len = (size_t)readlink(path, sym, sizeof(sym) - 1);
748 lwsl_err("Failed to read link %s\n", path);
752 lwsl_debug("symlink %s -> %s\n", path, sym);
753 lws_snprintf(path, sizeof(path) - 1, "%s", sym);
758 lws_snprintf(path, sizeof(path) - 1, "%s/%s/%s",
765 lwsl_err("symlink loop %s \n", path);
854 mimetype = lws_get_mimetype(path, m);
856 lwsl_info("unknown mimetype for %s\n", path);
865 lwsl_debug("sending no mimetype for %s\n", path);
875 n = (int)strlen(path);
877 !strcmp(&path[(unsigned int)n - strlen(pvo->name)], pvo->name)) {
887 lwsl_debug("want %s interpreted by %s (pcol is %s)\n", path,
925 n = lws_serve_http_file(wsi, path, mimetype, (char *)start,
1369 i.path = rpath;
1370 lwsl_notice("%s: proxied path '%s'\n", __func__, i.path);
1463 i.address, i.port, i.path, i.ssl_connection,
1729 * URI from the host: header, and regenerate the path part from
1906 NULL, /* replace with cgi path */