Sergey Fedorov
c106e6cb24
Minor fixes for < 10.6 ( #515 )
...
* Fix for missing AI_NUMERICSERV on < 10.6
* Do not use pthread_setname_np on < 10.6
2024-05-08 07:33:23 -07:00
lanthora
0dd284267a
Fix MinGW build warning ( #482 )
2023-09-01 08:00:35 -07:00
itytophile
679ce519dd
Fix DNSLookup memory leak ( #422 )
...
* Fix memory leak with shared_ptr and -fsanitize=address
* Replace addrinfo* by shared_ptr
* fsanitize=address only on Linux
* Add USE_WS Linux CI test
* Remove fsanitize from the cmake files
* Remove USE_WS in linux test suite
2022-12-22 17:13:51 -08:00
Benjamin Sergeant
afa15d6dcf
mingw build problem fix attempt
2021-03-13 18:31:42 -08:00
Benjamin Sergeant
738c6040f7
fix memory leak in dns unittest
2020-11-12 13:07:31 -08:00
Benjamin Sergeant
b34d9f6a06
uwp fixes
2020-05-01 11:27:59 -07:00
Benjamin Sergeant
303f99a432
refine previous commit
2020-05-01 10:37:25 -07:00
Benjamin Sergeant
a42ccea8dd
disable unicode
2020-05-01 09:22:03 -07:00
Benjamin Sergeant
6b98694caa
(client) internal IXDNSLookup class requires a valid cancellation request function callback to be passed in
2019-12-02 14:52:19 -08:00
Benjamin Sergeant
cd3c9d879c
reformat everything with clang-format
2019-09-23 10:25:23 -07:00
Benjamin Sergeant
47b3368f78
In DNS lookup code, make sure the weak pointer we use lives through the expected scope (if branch)
2019-09-19 12:51:11 -07:00
Benjamin Sergeant
e2121d809e
fix unittest warnings + remove trailing spaces
2019-09-12 11:43:52 -07:00
Benjamin Sergeant
747746cba1
dns / use cancellable instead of blocking
2019-06-30 23:26:14 -07:00
Benjamin Sergeant
5b73edec8c
make IXDNSLookup more robust
2019-06-26 19:12:48 -07:00
Benjamin Sergeant
3750781bce
simplify IXDNSLookup
2019-06-26 16:25:07 -07:00
Benjamin Sergeant
b26e9d0338
IXDNSLookup. Uses weak pointer + smart_ptr + shared_from_this instead of static sets + mutex to handle object going away before dns lookup has resolved
2019-06-19 00:43:59 -07:00
Benjamin Sergeant
28a7ec4f35
doc: add reference to the conan file built at https://github.com/Zinnion/conan-IXWebSocket
2019-05-01 21:31:32 -07:00
Benjamin Sergeant
ad8b344298
tsan fixes on ubuntu xenial (what travis run)
2019-04-29 20:48:16 -07:00
Benjamin Sergeant
6d310d417a
dns lookup: fix race condition accessing _errMsg
2019-04-29 19:29:27 -07:00
Benjamin Sergeant
9dca893ce7
tsan linux tentative fix / copy string instead of passing a const reference
2019-04-29 17:27:53 -07:00
Benjamin Sergeant
1c7c07e128
initialize netSystem (aka winsock on windows) explicitely
2019-04-25 16:38:15 -07:00
Dimon4eg
4fbc4e3be9
Fixes for windows ( #45 )
...
* init Net system on Windows
* propagate DNS error
* Add zlib 1.2.11 sources
* link zlib statically for windows
* remove not implemented function declaration
* fix connect on Windows
2019-04-25 16:26:53 -07:00
Benjamin Sergeant
a443bbdf80
Fix data races in DNSLookup (tsan)
2019-04-24 21:53:31 -07:00
Benjamin Sergeant
0635313566
Feature/redis ( #23 )
...
* Fix warning
* (cmake) add a warning about 32/64 conversion problems.
* simple redis clients
* can publish to redis
* redis subscribe
* display messages received per second
* verbose flag
* (cmake) use clang only compile option -Wshorten-64-to-32 when compiling with clang
2019-03-20 14:29:02 -07:00
Benjamin Sergeant
932bb732e0
Feature/send large message ( #14 )
...
* introduce send fragment
* can pass a fin frame
* can send messages which are a perfect multiple of the chunk size
* set fin only for last fragment
* cleanup
* last fragment should be of type CONTINUATION
* Add simple send and receive programs
* speedups receiving + better way to wait for thing
* receive speedup by using linked list of chunks instead of large array
* document bug
* use chunks to receive data
* trailing spaces
2019-02-20 18:59:07 -08:00
Benjamin Sergeant
bce3071a12
DNSLookup: fix #8
2019-01-06 18:27:26 -08:00
Benjamin Sergeant
911f684e4d
DNSLookup: copy hostname and port instead of accessing member
2019-01-06 18:17:12 -08:00
Benjamin Sergeant
9641c8cf49
header refactoring
2019-01-05 20:38:43 -08:00
Benjamin Sergeant
3eef8fba27
unittest on appveyor
2019-01-04 17:28:13 -08:00
Benjamin Sergeant
97255fbd62
cancellation refactoring
2019-01-03 12:53:44 -08:00
Benjamin Sergeant
ba54664748
Fix warning: field '_done' will be initialized after field '_wait' [-Wreorder] _done(false),
2018-12-23 14:17:30 -08:00
Benjamin Sergeant
a79f4c10a1
set thread name / rename example
2018-12-23 14:14:38 -08:00
Benjamin Sergeant
bd04b28b9e
async dns lookup fix
2018-12-14 17:49:42 -08:00
Benjamin Sergeant
cbadecab33
non blocking dns lookup
2018-12-14 16:28:17 -08:00