Benjamin Sergeant
6a90dc7259
(cmake) DEFLATE -> Deflate in CMake to stop warnings about casing
2020-11-07 09:40:54 -08:00
Benjamin Sergeant
730fbc5b31
unity build fixes
2020-10-26 19:18:55 -07:00
Benjamin Sergeant
dc84080401
Add support for gzip compression through libdeflate
2020-09-30 14:34:03 -07:00
Benjamin Sergeant
82e759732b
(cmake) Stop using FetchContent cmake module to retrieve jsoncpp third party dependency
2020-09-30 14:24:04 -07:00
Benjamin Sergeant
6f188a5131
(ws) add gzip and gunzip ws sub commands
2020-09-28 10:19:27 -07:00
Benjamin Sergeant
6077f86af8
(cmake) use FetchContent cmake module to retrieve jsoncpp third party dependency
2020-09-26 14:11:40 -07:00
Benjamin Sergeant
93167e3917
cmake / move FetchContent spdlog to a single place
2020-09-26 13:55:03 -07:00
Benjamin Sergeant
2526a94454
(cmake) use FetchContent cmake module to retrieve spdlog third party dependency
2020-09-26 13:51:19 -07:00
Benjamin Sergeant
73b9c0b89b
(socket servers) merge the ConnectionInfo class with the ConnectionState one, which simplify all the server apis
2020-08-28 14:55:40 -07:00
Benjamin Sergeant
6f0307fb35
(build) make using zlib optional, with the caveat that some http and websocket features are not available when zlib is absent
2020-07-31 22:54:57 -07:00
Benjamin Sergeant
4f41f209a2
(socket utility) move ix::getFreePort to ixwebsocket library
2020-07-27 18:17:13 -07:00
Benjamin Sergeant
0388459bd0
(ixwebsocket) add WebSocketProxyServer, from ws. Still need to make the interface better.
2020-07-25 11:26:06 -07:00
Benjamin Sergeant
f7031d0d3e
set thread name in only one file
2020-07-17 11:43:50 -07:00
Benjamin Sergeant
595e6c57df
IXSelectInterruptPipe.h included in cmake on windows but compiled out
2020-07-17 11:33:02 -07:00
Benjamin Sergeant
fbd17685a1
(socket+websocket+http+redis+snake servers) expose the remote ip and remote port when a new connection is made (see #222 ) / only ipv4 is handled
2020-07-08 12:10:35 -07:00
Benjamin Sergeant
89e7a35a81
add cmake comment about using a custom zlib
2020-07-06 18:34:14 -07:00
flagarde
789e620451
Update CMakeLists.txt
...
just have to provide OPENSSL_ROOT_DIR to cmake
2020-07-06 18:30:44 -07:00
Benjamin Sergeant
4789e190a0
zlib needs to be found (with vcpkg in CI), do not use our bundled copy
2020-07-06 18:09:45 -07:00
Xu Zhipei
2fbb1a846f
feat(cmake): add cmake find config support ( #213 )
2020-06-13 21:04:43 -07:00
Benjamin Sergeant
c5aadffa08
(redis cobra bots) update the cobra to redis bot to use the bot framework, and change it to report fps metrics into redis streams.
2020-06-10 22:30:55 -07:00
flagarde
e0aace33ea
Update CMakeLists.txt ( #207 )
2020-05-21 08:46:06 -07:00
Benjamin Sergeant
2319dec278
(cmake) revert CMake changes to fix #203 and be able to use an external OpenSSL
2020-05-20 10:56:58 -07:00
Benjamin Sergeant
54d4d81bf4
(cmake) make install cmake files optional to not conflict with vcpkg
...
See https://github.com/microsoft/vcpkg/pull/11030
2020-05-17 20:36:46 -07:00
Benjamin Sergeant
ea207d8199
(windows + tls) mbedtls is the default windows tls backend + add ability to load system certificates with mbdetls on windows
2020-05-17 20:36:46 -07:00
Benjamin Sergeant
c1403df74a
(cmake) default TLS back to mbedtls on Windows Universal Platform
2020-05-08 09:31:53 -07:00
Benjamin Sergeant
3912e22b28
give websocket_subprotocol test more time to establish a connection
2020-05-08 09:26:05 -07:00
XLPhere
c9d5b4a581
Moved fPIC option to the top of the CMakeLists ( #197 )
...
The fPIC option was not properly registered before
2020-05-08 08:00:51 -07:00
Benjamin Sergeant
fc4a4bfb7c
fix #194 / linux needs to built with position independant code
2020-05-03 12:19:58 -07:00
ebenali
9e54fd5f1a
Fix CMake/zlibstatic-related regression ( #192 )
...
* cmake: add export() and install(EXPORT) for easier packageability
Enable the package to be more readily packageable as a system-wide
install or as a third-party dependency to another CMake-base project
This does not change CMake version requirements AFAICT
* CMake: link-in OpenSSL::Crypto
* CMake: explicitly manage dependencies. Fixes building with zlibstatic
2020-05-02 22:08:58 -07:00
ebenali
1096f62196
cmake: add export() and install(EXPORT) for easier packageability ( #190 )
...
* cmake: add export() and install(EXPORT) for easier packageability
Enable the package to be more readily packageable as a system-wide
install or as a third-party dependency to another CMake-base project
This does not change CMake version requirements AFAICT
* CMake: link-in OpenSSL::Crypto
2020-05-02 20:20:59 -07:00
Benjamin Sergeant
33ebd00932
fix cmake tls backend option parsing
2020-04-27 11:29:50 -07:00
Benjamin Sergeant
fbe5e74109
fix openssl cmake errors
2020-04-27 10:59:47 -07:00
Benjamin Sergeant
a9f5d5353f
fix cmake syntax error and convert some errors to fatal errors
2020-04-27 10:29:27 -07:00
Benjamin Sergeant
22e0083832
CMake TLS cleanup
2020-04-27 10:09:51 -07:00
Benjamin Sergeant
74efdfebba
remove bundled mbedtls
2020-04-25 15:41:39 -07:00
Benjamin Sergeant
0ab04f51fe
(ssl) Default to OpenSSL on Windows, since it can load the system certificates by default
2020-04-25 15:36:31 -07:00
Benjamin Sergeant
79acb915ce
merge the 2 url parsing file into one, fix a silly build error
2020-04-24 14:08:59 -07:00
Benjamin Sergeant
bad3adb6b4
cmake pb with renamed file
2020-04-24 12:55:00 -07:00
Benjamin Sergeant
e3dd4e60c0
remove deleted IXSelectInterruptEventFd file reference in cmake
2020-04-24 12:52:13 -07:00
Benjamin Sergeant
c70f1d09a8
include all ssl backends inside special per backend macro
2020-04-24 12:47:47 -07:00
Benjamin Sergeant
432f0570f4
(websocket) WebSocketMessagePtr is a unique_ptr instead of a shared_ptr
2020-04-13 21:56:01 -07:00
Benjamin Sergeant
f3b97097cd
(windows) ci: windows build with TLS (mbedtls) + verify that we can be build with OpenSSL
2020-04-04 17:49:52 -07:00
Matthew Albrecht
da36856d85
Only find zlib if it has not already been found. ( #169 )
2020-03-26 09:39:51 -07:00
Benjamin Sergeant
dffa759f71
move IXBench code under ixwebsocker folder
2020-03-24 20:53:25 -07:00
Benjamin Sergeant
a0ffb2ba53
cobra to statsd bot ported to windows + add unittest
2020-03-22 19:37:04 -07:00
Benjamin Sergeant
5ad54a8904
pre-commit / fix simple file trailing things
2020-03-21 19:31:38 -07:00
Benjamin Sergeant
3df7c942d7
move sentry and statsd cobra ws commands into a new ixbots folder
2020-03-11 15:55:56 -07:00
Rok Krhlikar
e581f29b42
Move zlib include_directories before add_subdirectory ( #159 )
2020-02-28 09:30:37 -08:00
Benjamin Sergeant
65bae2736d
fix #144 - get rid of stubbed windows ssl schannel backend
2020-01-14 13:39:48 -08:00
Matthew Albrecht
b816f1fbda
Allow custom OpenSSL lib, only include openssl/x509v3.h when used. ( #143 )
...
* Allow custom OpenSSL lib, only include openssl/x509v3.h when used.
Using fnmatch on Unix systems, PathMatchSpecA is the best WINAPI equivalent.
* Moved shlwapi into WIN32 block.
2020-01-08 13:57:57 -08:00