Skip to content

Split library itself and sockets io #432

@efimbushmanov

Description

@efimbushmanov

Now, its impossible to use libvncserver for heavy load projects, cloud based project and etc because of private, internal usage of sockets. There is little begining for this like support of inetd (external) sockets.

I want to add some system or option to bypass integrated private sockets communication and add external implementations for sockets calls like select/read/write/close.

Make interception of read/write/close calls on LD_PRELOAD its not good solution, imho.

Same question was raised previously regarding tls implementation.

Its can be found here:
b7d57ea

But my opinion, tls should be implemented in some other way, not with read/wrete overload. Maybe just like in libvncclient case.

Related pull request with more comments and possible solution for remove close calls and impementation of external_sockets flag:
#428

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions