mirror of
https://github.com/curl/curl.git
synced 2025-09-15 16:42:41 +03:00
gen.pl: error on duplicated See-Also fields
Updated http2.d accordingly. Closes #10925
This commit is contained in:
parent
452b8e39ef
commit
a8fbdb461c
|
@ -241,6 +241,10 @@ sub single {
|
|||
$protocols=$1;
|
||||
}
|
||||
elsif(/^See-also: *(.*)/i) {
|
||||
if($seealso) {
|
||||
print STDERR "ERROR: duplicated See-also in $f\n";
|
||||
return 1;
|
||||
}
|
||||
$seealso=$1;
|
||||
}
|
||||
elsif(/^Requires: *(.*)/i) {
|
||||
|
|
|
@ -6,9 +6,8 @@ Protocols: HTTP
|
|||
Added: 7.33.0
|
||||
Mutexed: http1.1 http1.0 http2-prior-knowledge http3
|
||||
Requires: HTTP/2
|
||||
See-also: no-alpn
|
||||
Help: Use HTTP 2
|
||||
See-also: http1.1 http3
|
||||
Help: Use HTTP/2
|
||||
See-also: http1.1 http3 no-alpn
|
||||
Category: http
|
||||
Example: --http2 $URL
|
||||
Multi: mutex
|
||||
|
|
Loading…
Reference in New Issue
Block a user