Skip to content

Commit

Permalink
Removed client side portion of credential passing from client protoco…
Browse files Browse the repository at this point in the history
…l. This conflicted with the file descriptor passing implementation in Twisted 12.1
  • Loading branch information
tcocagne committed Jul 3, 2012
1 parent d5ef8bc commit 50074e7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions txdbus/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ def connectionMade(self):
if self._client:
# DBus specification requires that clients send a null byte upon connection
# to the bus
if _is_linux:
import socket
self.transport.socket.setsockopt(socket.SOL_SOCKET,
16, # SO_PASSCRED constant
1)
self.transport.write('\0')


Expand Down

0 comments on commit 50074e7

Please sign in to comment.