From abc15c696d8f47257e0b592f381ba8e9af861259 Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Thu, 18 Nov 2021 09:12:05 +0900 Subject: [PATCH] fix quotes in --altsvc example --- doc/nghttpx.1 | 2 +- doc/nghttpx.1.rst | 2 +- src/shrpx.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/nghttpx.1 b/doc/nghttpx.1 index a328ba23..b9e0eb3b 100644 --- a/doc/nghttpx.1 +++ b/doc/nghttpx.1 @@ -1517,7 +1517,7 @@ they are treated as nothing is specified. They are advertised in alt\-svc header field only in HTTP/1.1 frontend. This option can be used multiple times to specify multiple alternative services. -Example: \fI\%\-\-altsvc\fP="h2,443,,,ma=3600; persist=1\(aq +Example: \fI\%\-\-altsvc\fP="h2,443,,,ma=3600; persist=1" .UNINDENT .INDENT 0.0 .TP diff --git a/doc/nghttpx.1.rst b/doc/nghttpx.1.rst index 60374068..ad7edbb9 100644 --- a/doc/nghttpx.1.rst +++ b/doc/nghttpx.1.rst @@ -1376,7 +1376,7 @@ HTTP advertised in alt-svc header field only in HTTP/1.1 frontend. This option can be used multiple times to specify multiple alternative services. - Example: :option:`--altsvc`\="h2,443,,,ma=3600; persist=1' + Example: :option:`--altsvc`\="h2,443,,,ma=3600; persist=1" .. option:: --http2-altsvc= diff --git a/src/shrpx.cc b/src/shrpx.cc index 26b09925..f81add5d 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -3174,7 +3174,7 @@ HTTP: advertised in alt-svc header field only in HTTP/1.1 frontend. This option can be used multiple times to specify multiple alternative services. - Example: --altsvc="h2,443,,,ma=3600; persist=1' + Example: --altsvc="h2,443,,,ma=3600; persist=1" --http2-altsvc= Just like --altsvc option, but this altsvc is only sent in HTTP/2 frontend.