- Apr 19, 2016
-
-
Andras Timar authored
-
Tor Lillqvist authored
-
Tor Lillqvist authored
-
Pranav Kant authored
Change-Id: Id63189e5a58e023669304438784d30c6ec48a1c2
-
Tor Lillqvist authored
Keep track of tiles being rendered in TileCache, and when asked to render the same tile as is already being rendered, just "subscribe" to the existing ongoing rendering. When a tile has been rendered and is being sent out to clients, check if there are "subscriptions" and send it to them, too. One problem is that if the client that caused a tile rendering to be initiated goes away before the rendering has completed, it will never complete, and the subscribers are left without the tile. Change-Id: Icca237876a0f466c29eb5bf60ffd4da3d9d68600 Reviewed-on: https://gerrit.libreoffice.org/24228 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Andras Timar authored
-
Andras Timar authored
-
Pranav Kant authored
Change-Id: Id0baa51c2adb14b77080b5acd2abf0658ee54b2b
-
Pranav Kant authored
Will help in placing unit test hooks to better test the admin console Change-Id: Ic4daae685a8fe493a0395d94e40112bf119c93e3
-
Pranav Kant authored
Change-Id: I7edf6b8d4f83f2cf9f85a2075d1dca216cda3d34
-
Jan Holesovsky authored
-
Andras Timar authored
-
Miklos Vajna authored
-
Miklos Vajna authored
Change-Id: Ibde55358c9640344e8bb4e6e24b287b1e7d8c6b5
-
Ashod Nakashian authored
Change-Id: I27618137bb0b6a7162c1a03806942ee0033be74e Reviewed-on: https://gerrit.libreoffice.org/24234 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Ashod Nakashian authored
Since auto-discovery is problematic, this patch implements support for both regex patterned hostnames/IPs to allow, and those to block/deny. A hostname/IP must be both allowed, and not denied, to be accepted. By setting ranges of allowed hostnames/IPs, and others to block/deny, an admin can configure Online with great flexibility. Defaults updated with same values, but not exhaustive. Change-Id: Iedfcafe41d07d905b549fb450c3fe625ad44599e Reviewed-on: https://gerrit.libreoffice.org/24233 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Ashod Nakashian authored
Change-Id: Ic262cf9e4a21d30b6dfd9d9fc0d895f89d7d8e7b Reviewed-on: https://gerrit.libreoffice.org/24232 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Ashod Nakashian authored
With unittests. Change-Id: Ibb14c493cc6de61b6497ab84e34e105481afe464 Reviewed-on: https://gerrit.libreoffice.org/24231 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Henry Castro authored
The closing handshake. Either peer can send a control frame with data containing a specified control sequence to begin the closing handshake. Upon receiving such a frame, the other peer sends a Close frame in response, if it hasn't already sent one.
-
- Apr 18, 2016
-
-
Tor Lillqvist authored
-
Tor Lillqvist authored
When compiled with --enable-debug, when requesting a tile for part=42, actually use part=0, and sleep five seconds before passing the rendered tile back up. This makes it easier to debug handling of simultaneous requests for the same tile from multiple clients.
-
Tor Lillqvist authored
-
Andras Timar authored
-
Jan Holesovsky authored
-
Tor Lillqvist authored
-
Tor Lillqvist authored
-
Tor Lillqvist authored
In loolforkit, whenever we have forked a new loolkit, also check if any previously forked children have exited. Remove the jails of those. (The loolkit process itself does not even try to remove all of its jail, see 3aadd910.) In order to be able to notice exited child processes in loolforkit, we no longer can set the action for SIGCHLD to SIG_IGN. That means that exiting loolkit processes will be in the zombie state until loolforkit picks up their exit status. As loolforkit does this check only in connection with forking a new child, zombie loolkit processes will hang around for some time, until the next loolkit process is forked. Not sure if this is a problem. countLoolKitProcesses() in httpwstest now needs to skip zombies. Loolwsd still takes care of removing whatever jails are left when it finishes.
-
Tor Lillqvist authored
When inside the chroot, what we would need to do is remove everything below / . But doing that is a bit too risky, in case some developer screws up some detail and that code happens to run outside the chroot after all, and the developer's machine gets trashed. So just remove paths we can reasonably assume won't exist as global pathnames on a developer machine: loSubPath and JAILED_DOCUMENT_ROOT. Currently the actual complete cleanup of loolkit jails happens in loolwsd when it is exiting. That is a bug and will have to be fixed. It should be done in loolforkit as soon as possible after the loolkit process has exited.
-
Andras Timar authored
-
Andras Timar authored
-
Tor Lillqvist authored
At least, that is the value of the num_prespawn_children element in the loolwsd.xml as shipped. But maybe that is not what is meant with "default"? It is unclear to me what the "default" attribute means.
-
Tor Lillqvist authored
-
Tor Lillqvist authored
-
Tor Lillqvist authored
-
Miklos Vajna authored
Change-Id: I33095de03e5f3df3ed8919121f6a078f80c26ae9
-
Miklos Vajna authored
Change-Id: I035347339cf789e49994640b03f239a3e161f9b7
-
Ashod Nakashian authored
Change-Id: Id956fc9e243c44ecd3914b448ab92f87e011d3ee Reviewed-on: https://gerrit.libreoffice.org/24185 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Ashod Nakashian authored
When a new view is created on a document that is in the process of unloading, all sorts of things can go wrong. This is especially problematic when the document needs to be saved before unloading, which takes significantly longer than otherwise. Change-Id: Ib33a18cafa9d5a3a17f6bd8c6145f9331ae54044 Reviewed-on: https://gerrit.libreoffice.org/24184 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Ashod Nakashian authored
Normally, when each client view closes, the session count is decremented until the last view is closed. However this doesn't work when the kit child process terminates. Due to a race condition between the last client disconnecting, and the internal structure destructing, and the next client connecting (on the same doc), the Admin loses track of the doc and pid. This is an issue of assuming a document and its pid are unique and will always remain unchanged. This patch adds a new API to remove a doc and all its views unconditionally to try to avoid the above issues. Change-Id: I0c181260679875b0464dd9b6548b29b8d6a361f7 Reviewed-on: https://gerrit.libreoffice.org/24183 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-
Ashod Nakashian authored
Change-Id: Ib8a488ef08d345f768323e1303f7a053e54464d5 Reviewed-on: https://gerrit.libreoffice.org/24182 Reviewed-by:
Ashod Nakashian <ashnakash@gmail.com> Tested-by:
Ashod Nakashian <ashnakash@gmail.com>
-