You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.
Add support for the Unix file descriptor type in proto.go and message.go, creating type UnixFD int32.
Define a transport interface that is used instead of a net.Conn, which will also help to fix Support transports besides unix #6. This interface then defines methods like SendMessage and ReadMessage, which could handle things like file descriptor passing. Also, the method SupportsUnixFDs (returning a bool) should be defined.
Implement this interface for the unix transport, including file descriptor passing.
Modify Connection to work with this new interface:
Send a NEGOTIATE_UNIX_FD in the auth protocol if the transport supports it.
Track whether unix fds are supported for the connection (new struct member). (Add a method that returns this value?)
Reject messages containing Unix fds if they're not supported.
Neither the authentication, nor the marshalling code currently support the passing of unix file descriptors.
The text was updated successfully, but these errors were encountered: