Skip to content

Fix TCP RST data loss when closing a connection with in-flight PING frames #77

Fix TCP RST data loss when closing a connection with in-flight PING frames

Fix TCP RST data loss when closing a connection with in-flight PING frames #77

Workflow file for this run

name: CI
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on: [push, pull_request]
env:
GOTOOLCHAIN: local
jobs:
test:
name: Unit test
timeout-minutes: 10
strategy:
matrix:
go-version: [1.13.x, oldstable, stable]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v6
- name: Validate headers
if: startsWith(matrix.go-version, '1.13') == false
run: |
go install github.com/containerd/ltag@latest \
&& ./scripts/validate/fileheader
- name: Test
run: go test -race -v ./...