A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cloudflare/gokeyless/commit/23ac0f40efd87457c7f6f30ba9e50811d9ceac5d below:

allow Unmarshaling of protocol.Operation with unknown tags · cloudflare/gokeyless@23ac0f4 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-1

lines changed Original file line number Diff line number Diff line change

@@ -643,7 +643,8 @@ func (o *Operation) UnmarshalBinary(body []byte) error {

643 643

case TagCustomFuncName:

644 644

o.CustomFuncName = string(data)

645 645

default:

646 -

return fmt.Errorf("unknown tag: %02x", tag)

646 +

// Silently ignore any unknown tags (to allow for new tags to be gradually added to the protocol).

647 +

continue

647 648

}

648 649 649 650

// only use tag as an index in seen after we've validated that it's a tag

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4