diff --git a/connection.go b/connection.go index 4023ade..dc3d066 100644 --- a/connection.go +++ b/connection.go @@ -23,8 +23,9 @@ const ( defaultHeartbeat = 10 * time.Second defaultConnectionTimeout = 30 * time.Second - defaultProduct = "https://github.com/streadway/amqp" + defaultProduct = "Amqp 0.9.1 Client" defaultVersion = "β" + platform = "golang" // Safer default that makes channel leaks a lot easier to spot // before they create operational headaches. See https://github.com/rabbitmq/rabbitmq-server/issues/1593. defaultChannelMax = (2 << 10) - 1 @@ -757,8 +758,9 @@ func (c *Connection) openStart(config Config) error { func (c *Connection) openTune(config Config, auth Authentication) error { if len(config.Properties) == 0 { config.Properties = Table{ - "product": defaultProduct, - "version": defaultVersion, + "product": defaultProduct, + "version": defaultVersion, + "platform": platform, } }