Use h2c from x/net to handle h2c requests
Co-authored-by: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
This commit is contained in:
parent
c7d336f958
commit
4360ca14c1
224 changed files with 22414 additions and 11768 deletions
2
vendor/golang.org/x/net/internal/socket/sys.go
generated
vendored
2
vendor/golang.org/x/net/internal/socket/sys.go
generated
vendored
|
@ -29,5 +29,5 @@ func init() {
|
|||
}
|
||||
|
||||
func roundup(l int) int {
|
||||
return (l + kernelAlign - 1) & ^(kernelAlign - 1)
|
||||
return (l + kernelAlign - 1) &^ (kernelAlign - 1)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue