Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcp: handle signals in connection goroutine #199

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

jkralik
Copy link
Member

@jkralik jkralik commented Jan 25, 2021

No description provided.

@jkralik jkralik requested a review from ondrejtomcik January 25, 2021 17:33
tcp/session.go Show resolved Hide resolved
}
if size, err := r.GetOptionUint32(coapTCP.MaxMessageSize); err == nil {
atomic.StoreUint32(&s.peerMaxMessageSize, size)
}
if r.HasOption(coapTCP.BlockWiseTransfer) {
atomic.StoreUint32(&s.peerBlockWiseTranferEnabled, 1)
}
return
return true
case codes.Ping:
if r.HasOption(coapTCP.Custody) {
//TODO
Copy link
Member

Choose a reason for hiding this comment

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

What kind of TODO needs to be done here? Please create issue for that on github.

Copy link
Member

Choose a reason for hiding this comment

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

#11

@jkralik jkralik merged commit e5cb5d9 into master Jan 26, 2021
@jkralik jkralik deleted the tcpHandleSignalsInConnectionGoroutine branch January 26, 2021 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants