Abit
|
a2b380d58e
|
Merge pull request #205 from bitshares/fix-websocket-close
Fix race condition in websocket server close
|
2020-06-24 15:27:28 +02:00 |
|
Abit
|
8b94976b79
|
Fix race condition in websocket server close
Note: the close() functions are not yet used in bitshares-core, but only in tests in FC.
The new code is not fully thread-safe either.
|
2020-06-24 12:08:55 +02:00 |
|
Abit
|
a876678008
|
Merge pull request #204 from bitshares/jmj_1256
Test to demonstrate fc::mutex and fc::thread
|
2020-06-22 17:07:13 +02:00 |
|
Abit
|
12777b8358
|
Merge pull request #201 from bitshares/ws-refactory
Websocket code refactory and bugfix
|
2020-06-22 16:27:42 +02:00 |
|
abitmore
|
0d9b127e34
|
Add missing functions to websocket_tls_server
These functions were in websocket_server class but not in websocket_tls_server class:
- get_listening_port
- stop_listening
- close
|
2020-06-20 13:01:22 -04:00 |
|
abitmore
|
aa671d61b5
|
Add promise to wait for closure of server socket
This may fix the issues that a websocket server may crash or hang when quitting
|
2020-06-20 11:36:21 -04:00 |
|
abitmore
|
9ae294293f
|
Update coding style
|
2020-06-18 18:57:33 -04:00 |
|
Abit
|
6606806f31
|
Merge pull request #202 from bitshares/fix-tuple-size-warning
Fix Clang -Wmismatched-tags warning on tuple_size
|
2020-06-17 14:24:28 +02:00 |
|
abitmore
|
88a3b58651
|
Fix Clang -Wmismatched-tags warning on tuple_size
|
2020-06-14 21:53:47 +00:00 |
|
abitmore
|
4dd1319a9e
|
Refactor destructor of websocket_server_impl
|
2020-05-06 13:25:23 -04:00 |
|
abitmore
|
c55b1fde3c
|
Add notes
|
2020-05-06 13:25:23 -04:00 |
|
abitmore
|
b77fa2a651
|
Capture only required vars, update coding style
and replace an assertion with a check.
|
2020-05-06 12:22:07 -04:00 |
|
abitmore
|
04f5fae050
|
Refactor websocket_tls_server_impl with template
Removes unnecessary differences between websocket_server_impl and websocket_tls_server_impl.
|
2020-05-02 13:33:39 -04:00 |
|
abitmore
|
33ce80cc5f
|
Remove unused types, wrap long lines
|
2020-05-02 11:36:05 -04:00 |
|
abitmore
|
bee73bd491
|
Refactor websocket_client, fix duplicate code
Fix duplicate code issue in websocket_client::connect() and
websocket_client::secure_connect(), and other minor issues
|
2020-05-02 11:21:50 -04:00 |
|
Abit
|
c00824a137
|
Merge pull request #134 from bitshares/jmj_844b
Log host information from websocket requests
|
2020-05-02 14:03:15 +02:00 |
|
abitmore
|
ea96a5a93b
|
Fix websocket_client::secure_connect()
Code synced from connect(), added todo to refactor later
|
2020-05-02 06:35:56 -04:00 |
|
abitmore
|
aa54e3938c
|
Remove unused websocket_tls_client class
The funcionality is already covered by the websocket_client class
|
2020-05-02 06:34:18 -04:00 |
|
abitmore
|
ffbda4e161
|
Add test cases about on_http for websocket servers
|
2020-05-02 05:46:21 -04:00 |
|
abitmore
|
c58ae55f44
|
Update test cases about RPC logging level
|
2020-05-02 04:40:28 -04:00 |
|
abitmore
|
c8fcefb901
|
Update RPC logging format
|
2020-05-02 04:17:44 -04:00 |
|
abitmore
|
3e07edf995
|
Remove unused header inclusion
|
2020-05-02 04:03:01 -04:00 |
|
abitmore
|
c6df78b0bb
|
Rename a function to avoid accidental misuse
|
2020-05-01 20:51:47 -04:00 |
|
abitmore
|
8ddcc87ee1
|
Add todo
|
2020-05-01 19:43:29 -04:00 |
|
abitmore
|
e778cf1520
|
Revert to simple WS connection for clients
|
2020-05-01 19:11:09 -04:00 |
|
abitmore
|
8ffe08f891
|
Merge 'master' branch
|
2020-05-01 18:01:55 -04:00 |
|
abitmore
|
e50067d6ed
|
Tweak code slightly
|
2020-05-01 17:57:21 -04:00 |
|
abitmore
|
9c506d050b
|
Fix test cases
|
2020-05-01 17:46:19 -04:00 |
|
abitmore
|
ba394e05b3
|
Refactor code about logging remote host info
|
2020-05-01 17:35:52 -04:00 |
|
Abit
|
ed22e1e6d4
|
Merge pull request #200 from bitshares/merge-core-4.0.x-to-master
Merge changes done for bitshares-core 4.0 to master
|
2020-04-29 15:55:37 +02:00 |
|
Abit
|
26c5bfc498
|
Merge pull request #199 from bitshares/abitmore-patch-1
Fix static_variant_depth_test
|
2020-04-19 18:32:19 +02:00 |
|
Abit
|
377f843478
|
Fix static_variant_depth_test
|
2020-04-19 18:03:37 +02:00 |
|
Abit
|
bb4fdb124f
|
Merge pull request #197 from bitshares/improve-testing
Update run-parallel-tests.sh to support arguments
|
2020-04-19 17:42:59 +02:00 |
|
Abit
|
c72d5d31cc
|
Merge branch 'master' into for-core-4.0.x
|
2020-04-19 10:55:50 +02:00 |
|
abitmore
|
480b17fdcd
|
Show more messages in Travis CI
|
2020-04-18 14:42:12 -04:00 |
|
abitmore
|
a7bb22a9d1
|
Show more msgs when testing with Github Actions
|
2020-04-18 13:19:17 -04:00 |
|
abitmore
|
bc60ea3fa9
|
Update run-parallel-tests.sh to support arguments
|
2020-04-18 13:15:53 -04:00 |
|
Abit
|
73a7f08f00
|
Merge pull request #143 from bitshares/jmj_bsip64
Add Hash160 algorithm
|
2020-04-15 17:39:39 +02:00 |
|
John Jones
|
c554c7e56d
|
add impl to hash160
|
2020-04-15 09:52:18 -05:00 |
|
John Jones
|
5070d8d2fc
|
define hash160 reset method
|
2020-04-15 09:20:39 -05:00 |
|
John Jones
|
9505342dbf
|
improve hash160 performance
|
2020-04-14 11:25:00 -05:00 |
|
John Jones
|
dbf4b99e3e
|
Merge remote-tracking branch 'upstream/for-core-4.0.x' into jmj_bsip64
|
2020-04-14 10:37:40 -05:00 |
|
Abit
|
23f0c6ab8e
|
Merge pull request #196 from bitshares/fix-static-variant-warning
Fix compiler warnings about static_variant
|
2020-04-06 19:31:42 +02:00 |
|
abitmore
|
ca3e76d226
|
Fix compiler warnings about static_variant
|
2020-04-06 15:16:12 +00:00 |
|
Abit
|
60d7946dbe
|
Merge pull request #194 from bitshares/update-variant-size-t-macos-openbsd
Update to_variant(size_t) for macOS and OpenBSD
|
2020-03-31 17:42:23 +02:00 |
|
Abit
|
907a81b434
|
Merge pull request #195 from bitshares/replace-int-in-static-variant
Replace int with 64-bit types in static_variant
|
2020-03-31 17:41:23 +02:00 |
|
Abit
|
3a2902e3c7
|
Merge pull request #193 from bitshares/fix-exception-to-string
Fix potential infinity loop in `exception::to_detail_string()`
|
2020-03-30 15:42:58 +02:00 |
|
abitmore
|
98a16ce397
|
Replace int with 64-bit types in static_variant
|
2020-03-29 20:40:51 +00:00 |
|
abitmore
|
34ddc2b859
|
Update to_variant(size_t) for macOS and OpenBSD
Fix to_variant(size_t) for OpenBSD, move implementation for macOS to cpp file
|
2020-03-28 17:30:42 +00:00 |
|
abitmore
|
cc1103fe45
|
Fix potential infinity loop
Fix exception::to_detail_string(...)
|
2020-03-28 16:05:03 +00:00 |
|