pax_global_header 0000666 0000000 0000000 00000000064 15130660706 0014516 g ustar 00root root 0000000 0000000 52 comment=7659dd8e0fa06b41290ad29af323d93d673c6b36 quic-go-0.59.0/ 0000775 0000000 0000000 00000000000 15130660706 0013155 5 ustar 00root root 0000000 0000000 quic-go-0.59.0/.clusterfuzzlite/ 0000775 0000000 0000000 00000000000 15130660706 0016511 5 ustar 00root root 0000000 0000000 quic-go-0.59.0/.clusterfuzzlite/Dockerfile 0000664 0000000 0000000 00000001113 15130660706 0020477 0 ustar 00root root 0000000 0000000 FROM gcr.io/oss-fuzz-base/base-builder-go:v1 ARG TARGETPLATFORM RUN echo "TARGETPLATFORM: ${TARGETPLATFORM}" ENV GOVERSION=1.25.0 RUN platform=$(echo ${TARGETPLATFORM} | tr '/' '-') && \ filename="go${GOVERSION}.${platform}.tar.gz" && \ wget https://dl.google.com/go/${filename} && \ mkdir temp-go && \ rm -rf /root/.go/* && \ tar -C temp-go/ -xzf ${filename} && \ mv temp-go/go/* /root/.go/ && \ rm -r ${filename} temp-go RUN apt-get update && apt-get install -y make autoconf automake libtool COPY . $SRC/quic-go WORKDIR quic-go COPY .clusterfuzzlite/build.sh $SRC/ quic-go-0.59.0/.clusterfuzzlite/build.sh 0000775 0000000 0000000 00000000755 15130660706 0020156 0 ustar 00root root 0000000 0000000 #!/bin/bash -eu export CXX="${CXX} -lresolv" # required by Go 1.20 compile_go_fuzzer github.com/quic-go/quic-go/fuzzing/frames Fuzz frame_fuzzer compile_go_fuzzer github.com/quic-go/quic-go/fuzzing/header Fuzz header_fuzzer compile_go_fuzzer github.com/quic-go/quic-go/fuzzing/transportparameters Fuzz transportparameter_fuzzer compile_go_fuzzer github.com/quic-go/quic-go/fuzzing/tokens Fuzz token_fuzzer compile_go_fuzzer github.com/quic-go/quic-go/fuzzing/handshake Fuzz handshake_fuzzer quic-go-0.59.0/.clusterfuzzlite/project.yaml 0000664 0000000 0000000 00000000015 15130660706 0021037 0 ustar 00root root 0000000 0000000 language: go quic-go-0.59.0/.githooks/ 0000775 0000000 0000000 00000000000 15130660706 0015062 5 ustar 00root root 0000000 0000000 quic-go-0.59.0/.githooks/README.md 0000664 0000000 0000000 00000000231 15130660706 0016335 0 ustar 00root root 0000000 0000000 # Git Hooks This directory contains useful Git hooks for working with quic-go. Install them by running ```bash git config core.hooksPath .githooks ``` quic-go-0.59.0/.githooks/pre-commit 0000775 0000000 0000000 00000001622 15130660706 0017065 0 ustar 00root root 0000000 0000000 #!/bin/bash # Check that test files don't contain focussed test cases. errored=false for f in $(git diff --diff-filter=d --cached --name-only); do if [[ $f != *_test.go ]]; then continue; fi output=$(git show :"$f" | grep -n -e "FIt(" -e "FContext(" -e "FDescribe(") if [ $? -eq 0 ]; then echo "$f contains a focussed test:" echo "$output" echo "" errored=true fi done pushd ./integrationtests/gomodvendor > /dev/null go mod tidy if [[ -n $(git diff --diff-filter=d --name-only -- "go.mod" "go.sum") ]]; then echo "go.mod / go.sum in integrationtests/gomodvendor not tidied" errored=true fi popd > /dev/null # Check that all Go files are properly gofumpt-ed. output=$(gofumpt -d $(git diff --diff-filter=d --cached --name-only -- '*.go')) if [ -n "$output" ]; then echo "Found files that are not properly gofumpt-ed." echo "$output" errored=true fi if [ "$errored" = true ]; then exit 1 fi quic-go-0.59.0/.github/ 0000775 0000000 0000000 00000000000 15130660706 0014515 5 ustar 00root root 0000000 0000000 quic-go-0.59.0/.github/FUNDING.yml 0000664 0000000 0000000 00000001464 15130660706 0016337 0 ustar 00root root 0000000 0000000 # These are supported funding model platforms github: [marten-seemann] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username open_collective: # Replace with a single Open Collective username ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry liberapay: # Replace with a single Liberapay username issuehunt: # Replace with a single IssueHunt username otechie: # Replace with a single Otechie username lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] quic-go-0.59.0/.github/dependabot.yml 0000664 0000000 0000000 00000000166 15130660706 0017350 0 ustar 00root root 0000000 0000000 version: 2 updates: - package-ecosystem: "github-actions" directory: "/" schedule: interval: "weekly" quic-go-0.59.0/.github/workflows/ 0000775 0000000 0000000 00000000000 15130660706 0016552 5 ustar 00root root 0000000 0000000 quic-go-0.59.0/.github/workflows/build-interop-docker.yml 0000664 0000000 0000000 00000002773 15130660706 0023330 0 ustar 00root root 0000000 0000000 name: Build interop Docker image on: push: branches: - master tags: - 'v*' pull_request: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ github.event_name == 'push' }} jobs: interop: runs-on: ${{ fromJSON(vars['DOCKER_RUNNER_UBUNTU'] || '"ubuntu-latest"') }} timeout-minutes: 30 steps: - uses: actions/checkout@v6 - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 with: platforms: linux/amd64,linux/arm64 - name: Login to Docker Hub if: github.event_name == 'push' uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: set tag name id: tag # Tagged releases won't be picked up by the interop runner automatically, # but they can be useful when debugging regressions. run: | if [[ $GITHUB_REF == refs/tags/* ]]; then echo "tag=${GITHUB_REF#refs/tags/}" | tee -a $GITHUB_OUTPUT; else echo 'tag=latest' | tee -a $GITHUB_OUTPUT; fi - uses: docker/build-push-action@v6 with: context: "." file: "interop/Dockerfile" platforms: linux/amd64,linux/arm64 push: ${{ github.event_name == 'push' }} tags: martenseemann/quic-go-interop:${{ steps.tag.outputs.tag }} quic-go-0.59.0/.github/workflows/clusterfuzz-lite-pr.yml 0000664 0000000 0000000 00000003501 15130660706 0023246 0 ustar 00root root 0000000 0000000 name: ClusterFuzzLite PR fuzzing on: pull_request: paths: - '**' permissions: read-all jobs: PR: runs-on: ${{ fromJSON(vars['CLUSTERFUZZ_LITE_RUNNER_UBUNTU'] || '"ubuntu-latest"') }} concurrency: group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }} cancel-in-progress: true strategy: fail-fast: false matrix: sanitizer: - address steps: - name: Build Fuzzers (${{ matrix.sanitizer }}) id: build uses: google/clusterfuzzlite/actions/build_fuzzers@v1 with: language: go github-token: ${{ secrets.GITHUB_TOKEN }} sanitizer: ${{ matrix.sanitizer }} # Optional but recommended: used to only run fuzzers that are affected # by the PR. # See later section on "Git repo for storage". # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git # storage-repo-branch: main # Optional. Defaults to "main" # storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages". - name: Run Fuzzers (${{ matrix.sanitizer }}) id: run uses: google/clusterfuzzlite/actions/run_fuzzers@v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} fuzz-seconds: 480 mode: 'code-change' sanitizer: ${{ matrix.sanitizer }} output-sarif: true parallel-fuzzing: true # Optional but recommended: used to download the corpus produced by # batch fuzzing. # See later section on "Git repo for storage". # storage-repo: https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/OWNER/STORAGE-REPO-NAME.git # storage-repo-branch: main # Optional. Defaults to "main" # storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages". quic-go-0.59.0/.github/workflows/cross-compile.sh 0000775 0000000 0000000 00000001502 15130660706 0021666 0 ustar 00root root 0000000 0000000 #!/bin/bash set -e dist="$1" goos=$(echo "$dist" | cut -d "/" -f1) goarch=$(echo "$dist" | cut -d "/" -f2) # cross-compiling for android is a pain... if [[ "$goos" == "android" ]]; then exit; fi # iOS builds require Cgo, see https://github.com/golang/go/issues/43343 # Cgo would then need a C cross compilation setup. Not worth the hassle. if [[ "$goos" == "ios" ]]; then exit; fi # Write all log output to a temporary file instead of to stdout. # That allows running this script in parallel, while preserving the correct order of the output. log_file=$(mktemp) error_handler() { cat "$log_file" >&2 rm "$log_file" exit 1 } trap 'error_handler' ERR echo "$dist" >> "$log_file" out="main-$goos-$goarch" GOOS=$goos GOARCH=$goarch go build -o $out example/main.go >> "$log_file" 2>&1 rm $out cat "$log_file" rm "$log_file" quic-go-0.59.0/.github/workflows/cross-compile.yml 0000664 0000000 0000000 00000003312 15130660706 0022053 0 ustar 00root root 0000000 0000000 on: [push, pull_request] jobs: crosscompile: strategy: fail-fast: false matrix: go: [ "1.24.x", "1.25.x", "1.26.0-rc.1" ] runs-on: ${{ fromJSON(vars['CROSS_COMPILE_RUNNER_UBUNTU'] || '"ubuntu-latest"') }} name: "Cross Compilation (Go ${{matrix.go}})" timeout-minutes: 30 steps: - uses: actions/checkout@v6 - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - name: Get Date id: get-date run: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT - name: Load Go build cache id: load-go-cache uses: actions/cache/restore@v5 with: path: ~/.cache/go-build key: go-${{ matrix.go }}-crosscompile-${{ steps.get-date.outputs.date }} restore-keys: go-${{ matrix.go }}-crosscompile- - name: Install build utils run: | sudo apt-get update sudo apt-get install -y gcc-multilib - name: Install dependencies run: go build example/main.go - name: Run cross compilation # run in parallel on as many cores as are available on the machine run: go tool dist list | xargs -I % -P "$(nproc)" .github/workflows/cross-compile.sh % - name: Save Go build cache # only store cache when on master if: github.event_name == 'push' && github.ref_name == 'master' uses: actions/cache/save@v5 with: path: ~/.cache/go-build # Caches are immutable, so we only update it once per day (at most). # See https://github.com/actions/cache/blob/main/tips-and-workarounds.md#update-a-cache key: go-${{ matrix.go }}-crosscompile-${{ steps.get-date.outputs.date }} quic-go-0.59.0/.github/workflows/go-generate.sh 0000775 0000000 0000000 00000001114 15130660706 0021303 0 ustar 00root root 0000000 0000000 #!/usr/bin/env bash set -e # delete all go-generated files (that adhere to the comment convention) git ls-files -z | grep --include \*.go -lrIZ "^// Code generated .* DO NOT EDIT\.$" | tr '\0' '\n' | xargs rm -f # First regenerate sys_conn_buffers_write.go. # If it doesn't exist, the following mockgen calls will fail. go generate -run "sys_conn_buffers_write.go" # now generate everything go generate ./... # Check if any files were changed git diff --exit-code || ( echo "Generated files are not up to date. Please run 'go generate ./...' and commit the changes." exit 1 ) quic-go-0.59.0/.github/workflows/integration.yml 0000664 0000000 0000000 00000010312 15130660706 0021615 0 ustar 00root root 0000000 0000000 on: [push, pull_request] jobs: integration: strategy: fail-fast: false matrix: os: [ "ubuntu" ] go: [ "1.24.x", "1.25.x", "1.26.0-rc.1" ] race: [ false ] include: - os: "ubuntu" go: "1.25.x" race: true - os: "windows" go: "1.25.x" race: false - os: "macos" go: "1.25.x" race: false runs-on: ${{ fromJSON(vars[format('INTEGRATION_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }} timeout-minutes: 30 defaults: run: shell: bash # by default Windows uses PowerShell, which uses a different syntax for setting environment variables env: DEBUG: false # set this to true to export qlogs and save them as artifacts TIMESCALE_FACTOR: 3 GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }} name: "Integration (${{ matrix.os }}, Go ${{ matrix.go }}${{ matrix.race && ', race' || '' }})" steps: - uses: actions/checkout@v6 - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - name: Install go-junit-report run: go install github.com/jstemmer/go-junit-report/v2@v2.1.0 - name: Set qlogger if: env.DEBUG == 'true' run: echo "QLOGFLAG= -qlog" >> $GITHUB_ENV - name: Enable race detector if: ${{ matrix.race }} run: echo "RACEFLAG= -race" >> $GITHUB_ENV - run: go version - name: Run tools tests run: go test ${{ env.RACEFLAG }} -v -timeout 30s -shuffle=on ./integrationtests/tools/... 2>&1 | go-junit-report -set-exit-code -iocopy -out report_tools.xml - name: Run version negotiation tests run: go test ${{ env.RACEFLAG }} -v -timeout 30s -shuffle=on ./integrationtests/versionnegotiation ${{ env.QLOGFLAG }} 2>&1 | go-junit-report -set-exit-code -iocopy -out report_versionnegotiation.xml - name: Run self tests, using QUIC v1 if: success() || failure() # run this step even if the previous one failed run: go test ${{ env.RACEFLAG }} -v -timeout 5m -shuffle=on ./integrationtests/self -version=1 ${{ env.QLOGFLAG }} 2>&1 | go-junit-report -set-exit-code -iocopy -out report_self.xml - name: Run self tests, using QUIC v2 if: ${{ !matrix.race && (success() || failure()) }} # run this step even if the previous one failed run: go test ${{ env.RACEFLAG }} -v -timeout 5m -shuffle=on ./integrationtests/self -version=2 ${{ env.QLOGFLAG }} 2>&1 | go-junit-report -set-exit-code -iocopy -out report_self_v2.xml - name: Run self tests, with GSO disabled if: ${{ matrix.os == 'ubuntu' && (success() || failure()) }} # run this step even if the previous one failed env: QUIC_GO_DISABLE_GSO: true run: go test ${{ env.RACEFLAG }} -v -timeout 5m -shuffle=on ./integrationtests/self -version=1 ${{ env.QLOGFLAG }} 2>&1 | go-junit-report -set-exit-code -iocopy -out report_self_nogso.xml - name: Run self tests, with ECN disabled if: ${{ !matrix.race && matrix.os == 'ubuntu' && (success() || failure()) }} # run this step even if the previous one failed env: QUIC_GO_DISABLE_ECN: true run: go test ${{ env.RACEFLAG }} -v -timeout 5m -shuffle=on ./integrationtests/self -version=1 ${{ env.QLOGFLAG }} 2>&1 | go-junit-report -set-exit-code -iocopy -out report_self_noecn.xml - name: Run benchmarks if: ${{ !matrix.race }} run: go test -v -run=^$ -timeout 5m -shuffle=on -bench=. ./integrationtests/self - name: save qlogs if: ${{ always() && env.DEBUG == 'true' }} uses: actions/upload-artifact@v6 with: name: qlogs-${{ matrix.os }}-go${{ matrix.go }}-race${{ matrix.race }} path: integrationtests/self/*.qlog retention-days: 7 - name: Upload report to Codecov if: ${{ !cancelled() && !matrix.race }} uses: codecov/codecov-action@v5 with: report_type: test_results name: Unit tests files: report_tools.xml,report_versionnegotiation.xml,report_self.xml,report_self_v2.xml,report_self_nogso.xml,report_self_noecn.xml env_vars: OS,GO token: ${{ secrets.CODECOV_TOKEN }} quic-go-0.59.0/.github/workflows/lint.yml 0000664 0000000 0000000 00000006051 15130660706 0020245 0 ustar 00root root 0000000 0000000 on: [push, pull_request] jobs: check: runs-on: ubuntu-latest timeout-minutes: 15 env: GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }} steps: - uses: actions/checkout@v6 - uses: actions/setup-go@v6 with: go-version: "1.25.x" - name: Check for //go:build ignore in .go files run: | IGNORED_FILES=$(grep -rl '//go:build ignore' . --include='*.go') || true if [ -n "$IGNORED_FILES" ]; then echo "::error::Found ignored Go files: $IGNORED_FILES" exit 1 fi - name: Check that go.mod is tidied if: success() || failure() # run this step even if the previous one failed run: go mod tidy -diff - name: Run code generators if: success() || failure() # run this step even if the previous one failed run: .github/workflows/go-generate.sh - name: Check that go mod vendor works if: success() || failure() # run this step even if the previous one failed run: | cd integrationtests/gomodvendor go mod vendor - name: run gcassert if: success() || failure() # run this step even if the previous one failed run: go tool gcassert ./... golangci-lint: runs-on: ubuntu-latest strategy: fail-fast: false matrix: go: [ "1.24.x", "1.25.x" ] env: GOLANGCI_LINT_VERSION: v2.6.0 GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }} name: golangci-lint (Go ${{ matrix.go }}) steps: - uses: actions/checkout@v6 - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - name: golangci-lint (Linux) uses: golangci/golangci-lint-action@v9 with: args: --timeout=3m version: ${{ env.GOLANGCI_LINT_VERSION }} - name: golangci-lint (Windows) if: success() || failure() # run this step even if the previous one failed uses: golangci/golangci-lint-action@v9 env: GOOS: "windows" with: args: --timeout=3m version: ${{ env.GOLANGCI_LINT_VERSION }} - name: golangci-lint (OSX) if: success() || failure() # run this step even if the previous one failed uses: golangci/golangci-lint-action@v9 env: GOOS: "darwin" with: args: --timeout=3m version: ${{ env.GOLANGCI_LINT_VERSION }} - name: golangci-lint (FreeBSD) if: success() || failure() # run this step even if the previous one failed uses: golangci/golangci-lint-action@v9 env: GOOS: "freebsd" with: args: --timeout=3m version: ${{ env.GOLANGCI_LINT_VERSION }} - name: golangci-lint (others) if: success() || failure() # run this step even if the previous one failed uses: golangci/golangci-lint-action@v9 env: GOOS: "solaris" # some OS that we don't have any build tags for with: args: --timeout=3m version: ${{ env.GOLANGCI_LINT_VERSION }} quic-go-0.59.0/.github/workflows/unit.yml 0000664 0000000 0000000 00000005242 15130660706 0020257 0 ustar 00root root 0000000 0000000 on: [push, pull_request] jobs: unit: strategy: fail-fast: false matrix: os: [ "ubuntu", "windows", "macos" ] go: [ "1.24.x", "1.25.x", "1.26.0-rc.1" ] runs-on: ${{ fromJSON(vars[format('UNIT_RUNNER_{0}', matrix.os)] || format('"{0}-latest"', matrix.os)) }} name: Unit tests (${{ matrix.os}}, Go ${{ matrix.go }}) timeout-minutes: 30 env: GOEXPERIMENT: ${{ matrix.go == '1.24.x' && 'synctest' || '' }} steps: - uses: actions/checkout@v6 - uses: actions/setup-go@v6 with: go-version: ${{ matrix.go }} - run: go version - name: Install go-junit-report run: go install github.com/jstemmer/go-junit-report/v2@v2.1.0 - name: Remove integrationtests shell: bash run: git rm -r --cached integrationtests && rm -rf integrationtests - name: Run tests env: TIMESCALE_FACTOR: 10 run: go test -v -shuffle on -cover -coverprofile coverage.txt ./... 2>&1 | go-junit-report -set-exit-code -iocopy -out report.xml - name: Run tests as root if: ${{ matrix.os == 'ubuntu' }} env: TIMESCALE_FACTOR: 10 FILE: sys_conn_helper_linux_test.go run: | test -f $FILE # make sure the file actually exists TEST_NAMES=$(grep '^func Test' "$FILE" | sed 's/^func \([A-Za-z0-9_]*\)(.*/\1/' | tr '\n' '|') go test -c -cover -tags root -o quic-go.test . sudo ./quic-go.test -test.v -test.run "${TEST_NAMES%|}" -test.coverprofile coverage-root.txt 2>&1 | go-junit-report -set-exit-code -iocopy -package-name github.com/quic-go/quic-go -out report_root.xml rm quic-go.test - name: Run tests with race detector if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow env: TIMESCALE_FACTOR: 20 run: go test -v -shuffle on ./... - name: Run benchmark tests run: go test -v -run=^$ -benchtime 0.5s -bench=. ./... - name: Upload coverage to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v5 env: OS: ${{ matrix.os }} GO: ${{ matrix.go }} with: files: coverage.txt,coverage-root.txt env_vars: OS,GO token: ${{ secrets.CODECOV_TOKEN }} - name: Upload test report to Codecov if: ${{ !cancelled() }} uses: codecov/codecov-action@v5 env: OS: ${{ matrix.os }} GO: ${{ matrix.go }} with: report_type: test_results name: Unit tests files: report.xml,report_root.xml env_vars: OS,GO token: ${{ secrets.CODECOV_TOKEN }} quic-go-0.59.0/.gitignore 0000664 0000000 0000000 00000000332 15130660706 0015143 0 ustar 00root root 0000000 0000000 debug debug.test main mockgen_tmp.go *.qtr *.qlog *.sqlog *.txt race.[0-9]* fuzzing/*/*.zip fuzzing/*/coverprofile fuzzing/*/crashers fuzzing/*/sonarprofile fuzzing/*/suppressions fuzzing/*/corpus/ gomock_reflect_*/ quic-go-0.59.0/.golangci.yml 0000664 0000000 0000000 00000005252 15130660706 0015545 0 ustar 00root root 0000000 0000000 version: "2" linters: default: none enable: - asciicheck - copyloopvar - depguard - exhaustive - govet - ineffassign - misspell - nolintlint - prealloc - staticcheck - unconvert - unparam - unused - usetesting settings: depguard: rules: random: deny: - pkg: "math/rand$" desc: use math/rand/v2 - pkg: "golang.org/x/exp/rand" desc: use math/rand/v2 quicvarint: list-mode: strict files: - '**/github.com/quic-go/quic-go/quicvarint/*' - '!$test' allow: - $gostd rsa: list-mode: original deny: - pkg: crypto/rsa desc: "use crypto/ed25519 instead" ginkgo: list-mode: original deny: - pkg: github.com/onsi/ginkgo desc: "use standard Go tests" - pkg: github.com/onsi/ginkgo/v2 desc: "use standard Go tests" - pkg: github.com/onsi/gomega desc: "use standard Go tests" http3-internal: list-mode: lax files: - '**/http3/**' deny: - pkg: 'github.com/quic-go/quic-go/internal' desc: 'no dependency on quic-go/internal' allow: - 'github.com/quic-go/quic-go/internal/synctest' misspell: ignore-rules: - ect # see https://github.com/ldez/usetesting/issues/10 usetesting: context-background: false context-todo: false exclusions: generated: lax presets: - comments - common-false-positives - legacy - std-error-handling rules: - linters: - depguard path: internal/qtls - linters: - exhaustive - prealloc - unparam path: _test\.go - linters: - staticcheck path: _test\.go text: 'SA1029:' # inappropriate key in call to context.WithValue # WebTransport still relies on the ConnectionTracingID and ConnectionTracingKey. # See https://github.com/quic-go/quic-go/issues/4405 for more details. - linters: - staticcheck paths: - http3/ - integrationtests/self/http_test.go text: 'SA1019:.+quic\.ConnectionTracing(ID|Key)' paths: - internal/handshake/cipher_suite.go - third_party$ - builtin$ - examples$ formatters: enable: - gofmt - gofumpt - goimports exclusions: generated: lax paths: - internal/handshake/cipher_suite.go - third_party$ - builtin$ - examples$ quic-go-0.59.0/LICENSE 0000664 0000000 0000000 00000002103 15130660706 0014156 0 ustar 00root root 0000000 0000000 MIT License Copyright (c) 2016 the quic-go authors & Google, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. quic-go-0.59.0/README.md 0000664 0000000 0000000 00000021715 15130660706 0014442 0 ustar 00root root 0000000 0000000