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 |
|
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 |
|
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 |
|
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
|
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
|
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
|
ba394e05b3
|
Refactor code about logging remote host info
|
2020-05-01 17:35:52 -04:00 |
|
Abit
|
c72d5d31cc
|
Merge branch 'master' into for-core-4.0.x
|
2020-04-19 10:55:50 +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
|
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 |
|
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 |
|
Abit
|
bbf17f8a40
|
Merge pull request #188 from bitshares/for-core-4.0.x
Merge 4.0.x changes to master
|
2020-02-24 19:10:22 +01:00 |
|
Abit
|
142b7eb4c6
|
Return a user-friendly msg on RPC execution error
|
2020-02-24 12:11:59 -05:00 |
|
Abit
|
3970ca178b
|
Merge pull request #185 from bitshares/for-core-4.0.x
Merge 4.0.x changes to master
|
2020-02-21 12:14:35 +01:00 |
|
Peter Conrad
|
3b7e67a3dc
|
Fixed busy-wait in delete_files
|
2019-12-10 15:41:08 +01:00 |
|
Abit
|
1d028b3c15
|
Fix potential out-of-bounds access
Thanks to Beosin(https://github.com/Lianantech)
|
2019-11-08 12:13:36 +01:00 |
|
Peter Conrad
|
0633515d7b
|
Fixed stacktrace license
|
2019-11-06 18:39:03 +01:00 |
|
Peter Conrad
|
4bdab0bb0a
|
Removed checks for obsolete boost version numbers
|
2019-09-24 17:24:38 +02:00 |
|
Abit
|
2f776301cd
|
Merge pull request #169 from bitshares/for-core-3-3
Merge 3.3.x branch to master branch
|
2019-09-23 17:02:18 +02:00 |
|
Peter Conrad
|
afc0e00700
|
Added zero_initialized_array template to restore functionality of fc::array<unsigned char,N>
|
2019-09-20 09:27:57 +02:00 |
|
Peter Conrad
|
5c0b9ed4e3
|
Merge pull request #164 from pmconrad/1895_namespaces
Move stuff into namespaces
|
2019-09-19 16:15:43 +02:00 |
|
Peter Conrad
|
2cc32d79ba
|
Fixed assert
|
2019-09-18 15:12:27 +02:00 |
|
Peter Conrad
|
9077892d87
|
Log stacktrace instead of writing to stderr
|
2019-09-18 15:12:27 +02:00 |
|
Peter Conrad
|
4ce3775630
|
Clean up before returning
|
2019-09-18 15:12:27 +02:00 |
|
Peter Conrad
|
eb42ebb528
|
Add log message
|
2019-09-18 15:12:27 +02:00 |
|
Peter Conrad
|
ef52b39036
|
Preserve crash in debug mode
|
2019-09-18 15:12:27 +02:00 |
|
Peter Conrad
|
201b4b33f0
|
Print stacktrace when yielding within an exception handler
|
2019-09-18 15:12:27 +02:00 |
|
Peter Conrad
|
cd69d13348
|
Replaced spin_yield_lock with atomics
|
2019-09-18 15:12:27 +02:00 |
|
Peter Conrad
|
20c1688223
|
Removed superfluous return
|
2019-09-18 13:07:54 +02:00 |
|
Peter Conrad
|
164f1f68e6
|
Whitespace fixes
|
2019-09-18 13:07:54 +02:00 |
|
Peter Conrad
|
5b8a7c281c
|
Partial revert "Changes to avoid conflict in following cherry-pick"
This reverts commit d729816b06.
|
2019-09-18 13:07:47 +02:00 |
|
Spartucus
|
3583ee6138
|
Fix non-void function return value
Since last catch insert exception string to `ss`, it should returns.
|
2019-09-18 12:59:37 +02:00 |
|
Kevin Heifner
|
2eb047a6f4
|
Add exception handling to to_string and to_detail_string
|
2019-09-18 12:59:37 +02:00 |
|
Peter Conrad
|
d729816b06
|
Changes to avoid conflict in following cherry-pick
|
2019-09-18 12:59:37 +02:00 |
|