Skip to content

Conversation

MakMukhi
Copy link
Contributor

@MakMukhi MakMukhi commented Apr 5, 2017

…EnhanceYourCalm and debug data of too_many_pings.

…EnhanceYourCalm and debug data of too_many_pings.
@MakMukhi MakMukhi requested review from dfawley and menghanl April 5, 2017 02:17
clientconn.go Outdated
mu sync.RWMutex
sc ServiceConfig
conns map[Address]*addrConn

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the empty line here to indicate that mkp is protected by mu?

func (t *http2Client) GetGoAwayReason() GoAwayReason {
t.mu.Lock()
defer t.mu.Unlock()
return t.goAwayReason
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this atomic read?
The lock is probably even not necessary...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following offline discussion leaving as is.

}

type testserver struct {
tr transport.ServerTransport
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just start a gRPC server here?

Copy link
Contributor

@menghanl menghanl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MakMukhi MakMukhi merged commit bfa5dd2 into grpc:master Apr 10, 2017
dfawley pushed a commit to dfawley/grpc-go that referenced this pull request Apr 17, 2017
grpc#1169)

* Client should update keepalive parameters upon receiving GoAway with EnhanceYourCalm and debug data of too_many_pings.
@menghanl menghanl added 1.3 Type: Feature New features or improvements in behavior labels Apr 18, 2017
@MakMukhi MakMukhi deleted the keepalive_client_update branch May 4, 2018 02:05
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Type: Feature New features or improvements in behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants