No description
Find a file
Ashod Nakashian 78d1cc4ac5 wsd: process callbacks before poll handlers
Callbacks are used to initialize handlers,
as is the case with addSession on DocumentBroker.

If the socket gets data before the callback is
invoked, the handler will fail since the expected
initialization hasn't happened yet.

This race indeed happens (rarely) with addSession.

100% (94/94) of old-style tests PASS.

Change-Id: Id9b4f63b45c5564add252e1671b7b0b08aff8150
Reviewed-on: https://gerrit.libreoffice.org/36035
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
Tested-by: Ashod Nakashian <ashnakash@gmail.com>
2017-04-03 05:16:05 +00:00
bundled/include/LibreOfficeKit wsd: update LibreOffice Kit header 2017-01-30 02:04:47 +00:00
common wsd: better thread affinity logging 2017-04-03 05:11:57 +00:00
debian package debian/ files and make them generic 2017-03-20 23:29:16 +01:00
etc Apply the pre-branch rename script to re-organize the source. 2016-11-25 09:58:48 +00:00
kit wsd: log the DocBroker ID in the Kit as well 2017-04-03 05:11:23 +00:00
loleaflet loleaflet: There's another socket object inside 2017-03-31 19:58:51 +05:30
net wsd: process callbacks before poll handlers 2017-04-03 05:16:05 +00:00
scripts Pootle server times out with IPv6 address... 2016-10-23 16:44:56 +02:00
test wsd: fix alertAllUsers test 2017-04-03 05:10:51 +00:00
tools config.h - get includes right: must always be the first include. 2017-03-10 10:47:43 +01:00
wsd wsd: do child housekeeping on finishing DocBroker thread 2017-04-03 05:15:37 +00:00
.clang-tidy Png: avoid multiplication at int precision, then converting to long 2016-12-05 11:56:46 +01:00
.gitignore package debian/ files and make them generic 2017-03-20 23:29:16 +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 Add zlib cflags and libs to configuration. 2017-03-30 12:09:12 +01: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
loolkitconfig.xcu tdf#106488 - fix by disabling un-necessary locking for the kit. 2017-03-11 21:47:21 +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 Find libpng on Ubuntu also 2017-03-27 10:03:07 +00:00
loolwsd.service don't hardcode lo_template_path, use the setting from loolwsd.xml 2017-03-20 23:29:15 +01:00
loolwsd.spec.in RPM packager should define 'vendor' 2017-03-20 23:29:15 +01:00
loolwsd.xml.in Use LO_PATH instead of hardcoded path as config default 2017-03-20 23:29:14 +01:00
Makefile.am Makefile: Simplify and link zlib properly 2017-03-31 09:17:56 +00: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.