genode/repos/gems/src/server
Norman Feske 493386ed27 wm: prevent superfluous session upgrades
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.
2015-11-27 12:18:53 +01:00
..
file_terminal Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
http_blk base: use reference for ascii_to output argument 2015-04-17 16:13:19 +02:00
nit_fader gems: nit_fader 2014-10-13 15:21:54 +02:00
tcp_terminal tcp_terminal: signal available bytes on partial read 2015-09-30 12:20:40 +02:00
terminal Minor cleanup fixes 2015-08-21 11:00:59 +02:00
terminal_mux Minor cleanup fixes 2015-08-21 11:00:59 +02:00
wm wm: prevent superfluous session upgrades 2015-11-27 12:18:53 +01:00