cockpit-project/cockpit — pull request #1550 by stefwalter (2014-12-02 11:09:09+00:00)
Title: On the fly changing of channel options

This fixes the problems with the docker console and implements on the fly changing of channel options.

In order to transfer large amounts of data over the docker console stream we have to batch the data, otherwise the browser is overwhelmed (livelocked would be the technical term here). But with the docker console stream we don't know how to batch and treat the stream until we have read part of it.

Add a new channel control message called 'tell' which changes the channel on the fly. Fold 'eof' into this control message as well.