head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RELEASE:1.1.1.1 netbsd-11-0-RC7:1.1.1.1 netbsd-11-0-RC6:1.1.1.1 netbsd-11-0-RC5:1.1.1.1 netbsd-11-0-RC4:1.1.1.1 netbsd-11-0-RC3:1.1.1.1 netbsd-11-0-RC2:1.1.1.1 netbsd-11-0-RC1:1.1.1.1 netbsd-11:1.1.1.1.0.4 netbsd-11-base:1.1.1.1 netbsd-10-1-RELEASE:1.1.1.1 netbsd-10-0-RELEASE:1.1.1.1 netbsd-10-0-RC6:1.1.1.1 netbsd-10-0-RC5:1.1.1.1 netbsd-10-0-RC4:1.1.1.1 netbsd-10-0-RC3:1.1.1.1 netbsd-10-0-RC2:1.1.1.1 netbsd-10-0-RC1:1.1.1.1 netbsd-10:1.1.1.1.0.2 netbsd-10-base:1.1.1.1 mesa-21-3-7:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.1 date 2022.05.09.01.23.23; author mrg; state Exp; branches 1.1.1.1; next ; commitid UEBs6hNk81DdQjDD; 1.1.1.1 date 2022.05.09.01.23.23; author mrg; state Exp; branches; next ; commitid UEBs6hNk81DdQjDD; desc @@ 1.1 log @Initial revision @ text @set $proxy_authorization ''; set_by_lua $proxyuri ' unescaped = ngx.unescape_uri(ngx.var.arg_uri); it, err = ngx.re.match(unescaped, "(https?://)(.*@@)?([^/]*)(/.*)?"); if not it then -- Hack to cause nginx to return 404 return "http://localhost/404" end scheme = it[1]; authstring = it[2]; host = it[3]; query = it[4]; if ngx.var.http_authorization and ngx.var.http_authorization ~= "" then ngx.var.proxy_authorization = ngx.var.http_authorization; elseif authstring then auth = string.sub(authstring, 0, -2); auth64 = ngx.encode_base64(auth); ngx.var.proxy_authorization = "Basic " .. auth64; end -- Default to / if none is set to avoid using the request_uri query if not query then query = "/"; end return scheme .. host .. query; '; add_header X-GG-Cache-Status $upstream_cache_status; proxy_set_header Authorization $proxy_authorization; proxy_pass $proxyuri; # Redirect back to ourselves on 301 replies proxy_redirect ~^(.*)$ /cache/?uri=$1; @ 1.1.1.1 log @initial import of mesa 21.3.7 main changes since 19.1.7 include: - more support for Vulkan functions - better supported for newer radeonsi (both amdgpu and radeon backends) - various bug fixes in many drivers - many fixes and enhancements for intel drivers - some fixes for nvidia - OpenGL 4.6 for some drivers (intel, radeonsi) - intel Tigerlake and Rocketlake support - Vulkan 1.2 for some drivers - OpenGL 4.5, GLES 3.2, and more on llvmpipe - working Panfrost and Midgard drivers - fix warnings in radeonsi vs newer llvm @ text @@