$ the-wire · showcase
Go compiler moves SSA rewrite packages, net QUIC clears reset receive buffer
By RepoJournal · Filed · About Go
The Go compiler reorganizes its SSA rewrite packages and the net package fixes a data race in QUIC stream resets.
The Go compiler moved the SSA rewrite packages [1]. Packages moved from cmd/compile/internal/ssarewrite to cmd/compile/internal/ssa/rewrite/<arch>, with 386 renamed to i386 because package names cannot start with a number. This is a code reorganization that fixes issue #20104 and prepares for #80409.
In golang/net, a QUIC data race was fixed [2]. When a peer resets a stream, unread data is discarded and buffers returned to a pool, but the fast-path read buffer was not cleared, leaving a dangling reference to recycled memory. The fix clears the fast-path read buffer on stream reset, and on STO (stop sending) as well.
Action items
References