libreoffice-online/net
Ashod Nakashian 5c6cd3aaec wsd: test: properly include config.h in the tests
When config.h is not included, the build
configuration is missing from the translation
unit in question. This affects ENABLE_SSL,
for one.

Also, HttpRequest.hpp depends on LOOLWSD_VERSION,
which is defined in config.h.

The config.h header must be included in all
trasnlation-units, and must be the first include.
This is to avoid conflicts and/or mismatching
binaries built with different compile-time values.

We also statically assert if LOOLWSD_VERSION
is not defined, to help the error message.

Change-Id: Ic4b45de879f3360a07e9507fdf04abfa4cec6a71
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
2021-04-02 12:43:39 -04:00
..
Buffer.hpp wsd: http: improve StatusLine 2021-03-22 10:09:22 -04:00
clientnb.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
DelaySocket.cpp wsd: avoid static SocketPoll 2021-03-13 16:44:09 -05:00
DelaySocket.hpp wsd: avoid static SocketPoll 2021-03-13 16:44:09 -05:00
FakeSocket.cpp
FakeSocket.hpp Replace all __linux in CPP conditions with __linux__. 2020-11-17 09:21:45 +00:00
HttpHelper.cpp wsd: cleanup Poco headers 2021-03-22 10:09:22 -04:00
HttpHelper.hpp
HttpRequest.cpp wsd: correct User-Agent usage in http headers 2021-03-22 10:09:22 -04:00
HttpRequest.hpp wsd: test: properly include config.h in the tests 2021-04-02 12:43:39 -04:00
NetUtil.cpp wsd: fail when trying to connect to an invalid host 2021-02-22 14:24:36 -05:00
NetUtil.hpp wsd: new NetUtil file for network utilities 2021-01-13 22:05:18 -05:00
ServerSocket.hpp wsd: encapsulate ServerSocket::_socketFactory 2021-03-16 08:27:46 -04:00
Socket.cpp wsd: correct User-Agent usage in http headers 2021-03-22 10:09:22 -04:00
Socket.hpp wsd: add member to Socket to flush safely 2021-03-22 10:09:22 -04:00
Ssl.cpp
Ssl.hpp wsd: test: support SSL in classic tests 2021-01-13 08:07:06 -05:00
SslSocket.hpp wsd: better errno handling in sockets 2021-03-01 21:50:18 -05:00
WebSocketHandler.hpp wsd: use http::Response to parse client websocket upgrade 2021-03-22 10:09:22 -04:00