File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ func recvBufferPool(bufferPool SharedBufferPool) ServerOption {
622622// workload (assuming a QPS of a few thousand requests/sec).
623623const serverWorkerResetThreshold = 1 << 16
624624
625- // serverWorkers blocks on a *transport.Stream channel forever and waits for
625+ // serverWorker blocks on a *transport.Stream channel forever and waits for
626626// data to be fed by serveStreams. This allows multiple requests to be
627627// processed by the same goroutine, removing the need for expensive stack
628628// re-allocations (see the runtime.morestack problem [1]).
Original file line number Diff line number Diff line change @@ -1182,12 +1182,12 @@ func (a *csAttempt) finish(err error) {
11821182 a .mu .Unlock ()
11831183}
11841184
1185- // newClientStream creates a ClientStream with the specified transport, on the
1185+ // newNonRetryClientStream creates a ClientStream with the specified transport, on the
11861186// given addrConn.
11871187//
11881188// It's expected that the given transport is either the same one in addrConn, or
11891189// is already closed. To avoid race, transport is specified separately, instead
1190- // of using ac.transpot .
1190+ // of using ac.transport .
11911191//
11921192// Main difference between this and ClientConn.NewStream:
11931193// - no retry
You can’t perform that action at this time.
0 commit comments