-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
completely skip server base classes #1838
Comments
As of r19284, the server can completely skip a number of modules:
(this will disable most of the optional mixins, both in the server base class and in the "client connection" instance) Still TODO:
|
Automated test script added in r19371, with some bug fixes included. This script exposes lots of ugly dependency issues. (in particular with read-only mode, keyboard, etc) |
Updates:
Still TODO:
|
For the client, see #1861 |
Ugly dependency utility cursor functions added: #1658#comment:8. |
This is true for the following xpra submodules:
|
@maxmylyn: FYI, feel free to close. (see comment:8) Will follow up in #1913 (high memory usage). |
r20282 does the same for RFB in shadow and desktop servers. |
norman commented:
|
Done in 20284. |
Similar to #1836 but for mixins (#1778 / #1761), we should be able to completely skip some of the server base classes.
ie:
LoggingServer
MMAP_Server
etc
This would reduce the memory footprint, and increase the security (decreasing the attack surface): it is impossible to attack code which isn't there.
Could be done for the server by using a dynamic type for "server base" (see example patch).
The client is not modular enough to support this sort of refactoring. (see #1796 for authentication handlers)
The text was updated successfully, but these errors were encountered: