to make Connection goroutine-safe writes should be serialized
Bug #1302185 reported by
Samuele Pedroni
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
go-dbus |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
although net.Conn is goroutine-safe at the moment Message.WriteTo uses two writes, probably safer would be dedicating a goroutine to writing as well
Related branches
lp:~sergiusens/go-dbus/sequential_writes
- John Lenton: Approve
-
Diff: 75 lines (+15/-0)3 files modifiedauth.go (+6/-0)
message.go (+7/-0)
transport.go (+2/-0)
lp:~pedronis/go-dbus/atomic-write-per-conn
- John Lenton: Approve
-
Diff: 98 lines (+13/-15)3 files modifiedauth.go (+2/-2)
dbus.go (+10/-5)
message.go (+1/-8)
summary: |
- to make connection goroutine-safe writes should be serialized + to make Connection goroutine-safe writes should be serialized |
Changed in go-dbus: | |
status: | New → In Progress |
Changed in go-dbus: | |
status: | In Progress → Fix Committed |
Changed in go-dbus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.