493386ed27
For each session upgrade performed by a wm client as part of the Nitpicker::Connection::buffer function, the window manager wrongly upgraded the wrapped nitpicker session twice: Once by handling the Root::upgrade, and again by handling of the server-side 'buffer' operation. Here, the 'buffer' operation was implemented by not merely forwarding the RPC request to the wrapped nitpicker session but by calling the 'buffer' method on the wrapped session's connection object, which implictly issues session upgrades. Consequently, the window manager would transfer twice the amount of the session upgrades it received by its clients to nitpicker and eventually ran out of memory. The patch fixes the problem by eliminating the call of the Nitpicker::Connection::buffer method and instead merely forward the RPC requests to the wrapped nitpicker sessions. |
||
---|---|---|
.. | ||
app | ||
lib/file | ||
server | ||
test |