Add Broadcast #23
Loading…
Reference in New Issue
No description provided.
Delete Branch "broadcast"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add Broacastto Add BroadcastDrone Build Status: success
https://build.openprivacy.ca/cwtch.im/tapir/239
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/tapir/240
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/tapir/244
@ -56,3 +59,3 @@
// NewConnection creates a new Connection
func NewConnection(id *primitives.Identity, hostname string, outbound bool, conn io.ReadWriteCloser, app Application) Connection {
func NewConnection(id *primitives.Identity, hostname string, outbound bool, conn io.ReadWriteCloser, app Application, service Service) Connection {
can we change the sig to
NewConnection(service Service, hostname string, outbound bool, conn io.ReadWriteCloser, app Application)
and either not need to store .identity or just pull it from service.id or service.getNewConnectionID() (we seem to use the former in connect and the latter in listen)
Fixed the signature, can't get rid of id yet (see: #20)
@ -63,3 +66,3 @@
connection.identity = id
connection.outbound = outbound
connection.MaxLength = 1024
connection.MaxLength = 8192
Could be a top of file const, or not, just a thought
Will be addressing this #22
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/tapir/247
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/tapir/248