chore: правка форматирования

This commit is contained in:
samosvalishe committed 2026-05-23 00:33:45 +03:00
1 parent 3ee9087323
commit 971b1ac8fc
13 files changed
+44 -43

No files matched your search

+3 -1
View File
@@ -234,7 +234,9 @@ func writeBondFrameToNextLane(ctx context.Context, lanes []*lane, typ byte, seq
func (h *Handler) copyBondToTCP(ctx context.Context, connID uint64, tcpConn net.Conn, recvCh <-chan bondframe.Frame) {
chunks := bondframe.Reorder(ctx, tcpConn, recvCh, bondframe.ReorderHooks{
OnOverflow: func(_ int) { h.Deps.log().Errorf("[bond %d] pending map overflow (>%d), closing", connID, bondframe.PendingCap) },
OnOverflow: func(_ int) {
h.Deps.log().Errorf("[bond %d] pending map overflow (>%d), closing", connID, bondframe.PendingCap)
},
OnUnknownType: func(typ byte) { h.Deps.log().Errorf("[bond %d] unknown frame type %d", connID, typ) },
OnWriteError: func(err error) { h.Deps.log().Errorf("[bond %d] local TCP write error: %v", connID, err) },
OnCloseWrite: h.Deps.log().Debugf,