FreeRDP icon indicating copy to clipboard operation
FreeRDP copied to clipboard

server side external io api logic broken

Open sss123next opened this issue 4 years ago • 3 comments

currently impossible to override io.TransportAttach because ->context->rdp->transport is available only after freerdp_peer_context_new call, but inside of freerdp_peer_context_new transport_attach is called before any chance to override it, it is possible to create own implementation of freerdp_peer_context_new, but it will also add requirement for implementation of lot freerdp internals which is undesired and should be avoided if possible.

sss123next avatar Dec 13 '20 19:12 sss123next

also looks like some in some other places file descriptor used directly in server side (peer) code

sss123next avatar Dec 13 '20 20:12 sss123next

looks like another task for me (. ok, i am on it.

sss123next avatar Dec 14 '20 18:12 sss123next

https://github.com/FreeRDP/FreeRDP/pull/6668 - started work here

sss123next avatar Dec 15 '20 04:12 sss123next