Skip to content

Instantly share code, notes, and snippets.

@xquery
Created February 6, 2020 07:59
Show Gist options
  • Save xquery/3623cf974f5cfdeb08db549cd9639957 to your computer and use it in GitHub Desktop.
Save xquery/3623cf974f5cfdeb08db549cd9639957 to your computer and use it in GitHub Desktop.
bash-5.0# curl -v --http3 https://f0bc1400606e:82
* Trying 172.27.0.4:82...
* Connect socket 5 over QUIC to 172.27.0.4:82
* QUIC handshake is completed
* Using HTTP/3 Stream ID: 0 (easy handle 0x557010d671a0)
> GET / HTTP/3
> Host: f0bc1400606e:82
> user-agent: curl/7.69.0-DEV
> accept: */*
>
* ngh3_stream_recv returns 0 bytes and EAGAIN
< HTTP/3 200
< server: lsquic/2.10.3
< content-type: text/html
< content-length: 940
<
<html>
<head>
<title>LiteSpeed IETF QUIC Server Index Page</title>
</head>
<body>
<h1>LiteSpeed IETF QUIC Server Index Page</h1>
<p>Hello! Welcome to the interop. Available services:
<ul>
<li><b>POST to /cgi-bin/md5sum.cgi</b>. This will return
MD5 checksum of the request body.
<li><b>GET /123K</b> or <b>GET /file-123K</b>. This will return
requested number of payload in the form of repeating text
by Jerome K. Jerome. The size specification must match
(\d+)[KMG]? and the total size request must not exceed
2 gigabytes. Then, you will get back that many bytes
of the <a
href=http://www.gutenberg.org/cache/epub/849/pg849.txt
>beloved classic</a>.
</ul>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment