No description
Find a file
Ashod Nakashian 31dd434136 nb: drain the read buffer before dispatching
Draining the buffer is the correct appraoch
to avoid accumulating data in the kernel
unnecessarily. But it also reduces the overhead
of reparsing the incoming data for message
boundaries.

The client that is to parse the data should
parse as many messages as possible and remove
them from the socket buffer.

Finally, we probably need to cap the maximum
buffer size to avoid bloating. However this
heavily depends on the application's max
message size, assuming there is no separate
buffer beyond that of the socket to accumulate
the messages in.

Change-Id: I49c4eccebd474cd07ca84f3f4eae33bc717ed1f2
Reviewed-on: https://gerrit.libreoffice.org/34411
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2017-03-10 10:47:37 +01:00
bundled/include/LibreOfficeKit wsd: update LibreOffice Kit header 2017-01-30 02:04:47 +00:00
common nb: more SSL initialization 2017-03-10 10:47:37 +01:00
debian Online, not on-line 2017-02-03 13:47:30 +00:00
etc Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
kit wsd: avoid redundant string initialization 2017-02-14 09:33:23 +01:00
loleaflet loleaflet: Allow not inactivating the screen 2017-03-10 14:58:47 +05:30
net nb: drain the read buffer before dispatching 2017-03-10 10:47:37 +01:00
scripts
test wsd: no tabs 2017-03-10 10:47:37 +01:00
tools wsd: drop bad sessions when send fails while replaying 2017-02-10 07:05:37 +00:00
wsd wsd: avoid redundant string initialization 2017-02-14 09:33:23 +01:00
.clang-tidy Png: avoid multiplication at int precision, then converting to long 2016-12-05 11:56:46 +01:00
.gitignore hush 2017-03-10 10:47:36 +01:00
.gitreview
AUTHORS Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
autogen.sh Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
ChangeLog Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
configure.ac Online, not on-line 2017-02-03 13:47:30 +00:00
COPYING Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
discovery.xml add text/rtf and text/plain as supported MIME types 2017-01-07 20:27:19 +00:00
favicon.ico Add LibreOffice favicon 2017-03-01 13:48:57 +00:00
INSTALL Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
loolstat Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
loolwsd-systemplate-setup script: remove POCO libraries from systemplate 2017-01-05 17:05:08 -04:00
loolwsd.service Online, not on-line 2017-02-03 13:47:30 +00:00
loolwsd.spec.in adapt rpm spec file to new build system, remove obsoleted options and don't install ssl key/cert 2017-02-28 22:58:50 +01:00
loolwsd.xml.in wsd: new config to enable/disable snapshots when recording trace 2017-02-05 22:03:18 -05:00
Makefile.am nb: more SSL initialization 2017-03-10 10:47:37 +01:00
maketarballfordeb.sh.in no error if dir exists (maketarballfordeb.sh) 2016-12-29 19:56:10 +01:00
NEWS Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
PROBLEMS Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
README Online, not on-line 2017-02-03 13:47:30 +00:00
robots.txt Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
sysconfig.loolwsd Online, not on-line 2017-02-03 13:47:30 +00:00
TODO Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00

LibreOffice Online.

This project has several components:

wsd/
	The Web Services Daemon - which accepts external connections.

kit/
	The client which lives in its own chroot and renders documents.

common/
	Shared code between these processes.

loleaflet/
	The client side JavaScript component.

It is recommended to read these files:

	wsd/README
	loleaflet/README

Enjoy.