DescriptionPrevent creation of the GnubbyExtension if no socket name is defined.
This change fixes a DCHECK on linux when the host is run without specifying
a socket name. Typically the host has a name passed in as an argument
however it is not required and may be skipped for a number of reasons.
The fix here is to skip the creation of the GnubbyExtension if a socket
name is not passed in. The net effect of this is that if a CRD client
passes a gnubby-auth extension message, the ClientSession will look for
a registered extension to handle the message (which won't exist) and the
message will be ignored.
BUG=587622
Committed: https://crrev.com/1002bde384f0a529949d2861b947110af0f91929
Cr-Commit-Position: refs/heads/master@{#376079}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Updating flag usage for enabling extension creation #Messages
Total messages: 11 (4 generated)
|