Skip to content

Concurrent map iteration and write in mergeNonProtocolHeaders #900

@elefantepequeno

Description

@elefantepequeno

Describe the bug

Concurrent map iteration and write in mergeNonProtocolHeaders.

To Reproduce

This was randomly caught by my local tests, don't think I can reproduce this.
Should be easy to trace manually though.

Environment (please complete the following information):

  • connect-go version or commit: v1.18.1
  • go version: go version go1.25.4 linux/arm64
  • your complete go.mod:
go 1.25.1

require (
	connectrpc.com/connect v1.18.1
	connectrpc.com/cors v0.1.0
	connectrpc.com/otelconnect v0.7.2
	github.com/VideoCentrix/proto v0.0.0
	github.com/aws/aws-sdk-go-v2/config v1.30.2
	github.com/aws/aws-sdk-go-v2/credentials v1.18.2
	github.com/aws/aws-sdk-go-v2/service/s3 v1.85.1
	github.com/aws/smithy-go v1.22.5
	github.com/caarlos0/env/v11 v11.3.1
	github.com/deckarep/golang-set/v2 v2.8.0
	github.com/exaring/otelpgx v0.9.3
	github.com/google/uuid v1.6.0
	github.com/hashicorp/golang-lru/v2 v2.0.7
	github.com/jackc/pgx-zap v0.0.0-20221202020421-94b1cb2f889f
	github.com/jackc/pgx/v5 v5.7.5
	github.com/pgvector/pgvector-go v0.3.0
	github.com/roboslone/go-framework v1.2.2
	github.com/roboslone/go-ui-fs v1.0.2
	github.com/rs/cors v1.11.1
	github.com/stretchr/testify v1.11.1
	github.com/twpayne/go-geom v1.6.1
	github.com/twpayne/pgx-geom v0.0.2
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0
	go.opentelemetry.io/otel v1.37.0
	go.opentelemetry.io/otel/sdk v1.37.0
	go.opentelemetry.io/otel/sdk/metric v1.37.0
	go.opentelemetry.io/otel/trace v1.37.0
	go.uber.org/zap v1.27.0
	golang.org/x/net v0.41.0
	google.golang.org/protobuf v1.36.6
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions