Skip to content

Update section.go - #3

Open
enricovittorini wants to merge 7 commits into
futzu:mainfrom
enricovittorini:main
Open

Update section.go#3
enricovittorini wants to merge 7 commits into
futzu:mainfrom
enricovittorini:main

Conversation

@enricovittorini

Copy link
Copy Markdown

Add a check for false on private indicator:
private_indicator – This is a 1-bit flag that shall be set to 0.

enricovittorini and others added 7 commits August 14, 2023 12:16
Add a check for false on private indicator:
private_indicator – This is a 1-bit flag that shall be set to 0.
added a check on protocol version
protocol_version: @ present, this attribute shall be set to 0.
Comment thread descriptors.go

@futzu futzu left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

futzu/threefive#88 is an example of what I'm talking about with people using custom identifiers.

Comment thread section.go
infosec.Private = bd.asFlag()
if infosec.Private {
return false
}

@futzu futzu Aug 15, 2023

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

You are correct, as far as the specification goes, but this gets us nothing, I've never seen this value used, and that's why Intentionally don't check it.

@futzu futzu left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

How about instead of returning false, print a warning message to stderr.

@futzu futzu left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

How about instead of returning false, print a warning message to stderr.

@futzu futzu left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

cool

@futzu

futzu commented Aug 26, 2023

Copy link
Copy Markdown
Owner

helloooooo

@enricovittorini

Copy link
Copy Markdown
Author

Agree let's do it as warning

@futzu

futzu commented Sep 11, 2023

Copy link
Copy Markdown
Owner

Are you going to give me an update with the warnings?
You already did all the work, update it and I'll merge it.
Jjust change log.Fatal to something like log.Print...... they need a log.Warn

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