libreoffice-online/test
Ashod Nakashian 3decba7eec wsd: specify the minimum bytes we can write to the socket
When writing to the socket, it's always more efficient
to fill the buffer up to the hardware limit for each
write. This is doubly important for efficiency with
SSL, due to the overhead of encrypting multiple
small buffers instead of one large one.

Currently we don't write more than one message
at a time, primarily due to limitations in
the Poco sockets in the unit-tests, which
have a hard time consuming multiple WS frames
with a single poll (subsequent calls to poll
doesn't enter signalled state until new data
arrives, possibly because the data is read and
buffered internally, making the whole scheme
of using poll unreliable and meaningless).

Change-Id: Ic2e2cf1babfb5ab4116efd93f392977ba234d92b
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-27 17:48:23 -04:00
..
data Add hello-world for Draw 2021-01-21 10:22:58 +01:00
.gitignore
countloolkits.hpp admin: add support for lost kits cleanup 2021-04-01 22:09:44 +01:00
DeltaTests.cpp
fakesockettest.cpp
helpers.hpp wsd: test: improve the stability of UnitCopyPaste 2021-04-27 08:09:49 -04:00
httpcrashtest.cpp wsd: improved WebSocketSession interface 2021-04-27 08:09:49 -04:00
HttpRequestTests.cpp wsd: test: fully enable loopback testing of http 2021-04-27 08:09:49 -04:00
HttpTestServer.hpp wsd: specify the minimum bytes we can write to the socket 2021-04-27 17:48:23 -04:00
HttpWhiteBoxTests.cpp wsd: http: improve StatusLine 2021-03-22 10:09:22 -04:00
httpwstest.cpp wsd: improved WebSocketSession interface 2021-04-27 08:09:49 -04:00
integration-http-server.cpp killpoco: use http::Request in HTTPServerTest 2021-04-07 11:36:10 -04:00
lokassert.hpp wsd: test: log before asserting 2021-04-07 11:36:10 -04:00
Makefile.am make: simplify 2021-04-27 08:09:49 -04:00
run_unit.sh.in test: make run_unit.sh more helpful on failure 2021-04-02 13:18:41 -04:00
test.cpp wsd: test: set the test name for old-style tests 2021-04-27 08:09:49 -04:00
test.hpp admin: add support for lost kits cleanup 2021-04-01 22:09:44 +01:00
testlog.hpp
TileCacheTests.cpp wsd: test: killpoco in TileCacheTests 2021-04-27 08:09:49 -04:00
TileQueueTests.cpp
UnitAdmin.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitBadDocLoad.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitCalc.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitClient.cpp wsd: test: set the test name for old-style tests 2021-04-27 08:09:49 -04:00
UnitClose.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitConvert.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitCopyPaste.cpp wsd: test: improve the stability of UnitCopyPaste 2021-04-27 08:09:49 -04:00
UnitCursor.cpp wsd: test: remove superfluous object 2021-04-27 08:09:49 -04:00
UnitEachView.cpp wsd: test: use chrono for readable and safe time durations 2021-04-02 13:18:41 -04:00
UnitFuzz.cpp
UnitHosting.cpp killpoco: use http::Request in UnitHosting 2021-04-07 11:36:10 -04:00
UnitHTTP.cpp wsd: test: log more in UnitHTTP 2021-04-11 01:05:20 -04:00
UnitInsertDelete.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitLargePaste.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitLoad.cpp wsd: improved WebSocketSession interface 2021-04-27 08:09:49 -04:00
UnitLoadTorture.cpp wsd: improved WebSocketSession interface 2021-04-27 08:09:49 -04:00
UnitOAuth.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitOOB.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitPasswordProtected.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitPaste.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitPrefork.cpp
UnitRenderingOptions.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitRenderShape.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitSession.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitStorage.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitTiffLoad.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitTileCache.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitTimeout.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitTyping.cpp wsd: test: use chrono for readable and safe time durations 2021-04-02 13:18:41 -04:00
UnitUNOCommand.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPI.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPIDocumentConflict.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPIFileUrl.cpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
UnitWOPIHttpHeaders.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
UnitWOPILoadEncoded.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
UnitWopiOwnertermination.cpp wsd: test: simplify sending commands 2021-01-13 08:07:06 -05:00
UnitWOPIRenameFile.cpp wsd: test: move inherited filterSendMessage to onFilterSendMessage 2021-01-13 08:07:06 -05:00
UnitWOPISaveAs.cpp wsd: test: move inherited filterSendMessage to onFilterSendMessage 2021-01-13 08:07:06 -05:00
UnitWOPITemplate.cpp wsd: test: improve Template test 2021-03-01 21:50:18 -05:00
UnitWOPIVersionRestore.cpp wsd: test: simplify sending commands 2021-01-13 08:07:06 -05:00
UnitWOPIWatermark.cpp wsd: test: catch and fail WSD tests when exceptions are thrown 2020-12-28 12:04:53 -04:00
WhiteBoxTests.cpp StringVector: add a way to get a string-number pair out of this ... 2021-04-27 15:31:21 +02:00
WopiProofTests.cpp
WopiTestServer.hpp wsd: add FileUrl tests 2021-02-09 10:45:37 -05:00