curl/tests/data/test3301
User ed1f181013 moved retry logic into multi instead of the connection itself
Update tests/data/Makefile.am

Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>

Apply suggestions from code review

whitespace stuff

Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>

more whitspace fixes

more docs changed

pull request fixes

(note that CI requires that symbols-in-versions be something that it should not be)

moving to new curl version

better documentation

try and see maybe  async is destroyed properly now?

removed whitespace

Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>

Update docs/libcurl/opts/CURLOPT_ALTSVC_CTRL.md

"-" uses insteadvof space

Co-authored-by: Viktor Szakats <vszakats@users.noreply.github.com>

better handeling of the recovering and checking whether or not to recover
2025-08-27 08:43:54 +03:00

86 lines
1.3 KiB
Text

<testcase>
<info>
<keywords>
HTTP
HTTP GET
HTTP proxy
</keywords>
</info>
#
# Server-side
<reply>
<data nocheck="yes">
HTTP/1.1 200 OK
Unknown-header: blrub
Content-Length: 6
-foo-
</data>
<servercmd>
connection-monitor
</servercmd>
</reply>
#
# Client-side
<client>
<features>
proxy
alt-svc
Debug
</features>
<setenv>
# make debug-curl accept Alt-Svc over plain HTTP
CURL_ALTSVC_HTTP="yeah"
</setenv>
<server>
http
</server>
<name>
alt-svc fail via proxy
</name>
<command>
--proxy http://%HOSTIP:%HTTPPORT --alt-svc "%LOGDIR/altsvc-%TESTNUMBER" http://test.remote.haxx.se.%TESTNUMBER:8990
</command>
<file name="%LOGDIR/altsvc-%TESTNUMBER">
h1 test.remote.haxx.se.%TESTNUMBER 8990 h1 %HOSTIP %NOLISTENPORT "20290222 22:19:28" 0 0
</file>
<features>
proxy
</features>
</client>
#
# Verify data after the test has been "shot"
<verify>
<stdout>
HTTP/1.1 200 OK
Unknown-header: blrub
Content-Length: 6
-foo-
</stdout>
<protocol>
CONNECT %HOSTIP:%NOLISTENPORT HTTP/1.1
Host: %HOSTIP:%NOLISTENPORT
User-Agent: curl/%VERSION
Proxy-Connection: Keep-Alive
[DISCONNECT]
GET http://test.remote.haxx.se.%TESTNUMBER:8990/ HTTP/1.1
Host: test.remote.haxx.se.%TESTNUMBER:8990
User-Agent: curl/%VERSION
Accept: */*
Proxy-Connection: Keep-Alive
[DISCONNECT]
</protocol>
</verify>
</testcase>