Skip to content
Snippets Groups Projects
Commit 514325bb authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

changes connection tags and fixed infiante recursion in the bindings

parent 93a19734
No related branches found
No related tags found
1 merge request!510Release
......@@ -85,8 +85,8 @@ func (c *Connection) SendE2E(mt int, payload []byte) ([]byte, error) {
}
// Close deletes this Connection's partner.Manager and releases resources
func (c *Connection) Close() {
c.Close()
func (c *Connection) Close() error {
return c.connection.Close()
}
// GetPartner returns the partner.Manager for this Connection
......
......@@ -94,8 +94,8 @@ type Params struct {
// GetDefaultParams returns a usable set of default Connection parameters.
func GetDefaultParams() Params {
return Params{
Auth: auth.GetDefaultParams(),
Rekey: rekey.GetDefaultParams(),
Auth: auth.GetDefaultTemporaryParams(),
Rekey: rekey.GetDefaultEphemeralParams(),
Event: event.NewEventManager(),
Timeout: connectionTimeout,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment