Nathan Hourt
5b3eb3a355
websocket_server default empty XFF header
...
For some reason, the websocket_server types have been altered to require
an X-Forwarded-For header (???) which seems utterly unnecessary. AFAICT,
it's safe to just leave it empty (BitShares does), so add a default arg
to make it do so by default.
2020-08-21 11:47:14 -05: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
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
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
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
ba394e05b3
Refactor code about logging remote host info
2020-05-01 17:35:52 -04:00
Alfredo Garcia
550e092267
Merge branch 'master' into jmj_844b
2019-06-21 14:53:36 -03:00
jmjatlanta
94200c1b57
clarify method name, cache value
2019-05-27 10:25:19 -05:00
John Jones
0df5f7e905
Use an api call instead of constructor
2019-05-24 11:15:02 -05:00
Peter Conrad
aa8870e793
Fixed JSONRPC error handling
2019-05-24 18:11:19 +02:00
John Jones
4906d8b2da
Allow configurable proxy header for logging
2019-05-24 10:41:21 -05:00
John Jones
d821e865ed
Add configurable header
2019-05-24 08:53:45 -05:00
John Jones
8b4ef5aa02
Fix bad_alloc
2019-05-23 16:05:05 -05:00
John Jones
82935acd86
Add host information to log messages
2019-05-23 09:56:11 -05:00
Nathan Hourt
0a50ac23e0
Remove websocket_server::synchronous_close
...
It doesn't work as expected, so get rid of it.
2019-05-13 17:25:08 -05:00
Nathan Hourt
bb01f3e925
Use random port for API tests
...
Add missing functionality to websocket_client and websocket_server to
make API tests more reliable and to make it possible to use a random
port for the tests.
2019-05-13 17:25:08 -05:00
Peter Conrad
579914c84d
Removed unused stuff
2019-04-04 17:59:51 +02:00
elmato
aed35f5b06
Add access to HTTP request headers in websocket_connection
2017-01-16 19:55:17 +00:00
theoreticalbts
44ede99409
websocket.cpp: Allow specifying CA root in websocket_client constructor
2016-05-18 21:14:25 -04:00
theoreticalbts
1f02c6790f
Revert "Add an option to the websocket server constructor to allow disabling deflate"
...
This reverts commit 21045dde5f .
2016-04-19 22:58:37 -04:00
theoreticalbts
7906a58468
Revert "Make websocket permessage-deflate default to disabled since it causes problems with Chrome"
...
This reverts commit 622ff58039 .
2016-04-19 22:58:30 -04:00
Eric Frias
622ff58039
Make websocket permessage-deflate default to disabled since it causes problems with Chrome
2016-03-14 18:26:29 -04:00
Eric Frias
21045dde5f
Add an option to the websocket server constructor to allow disabling deflate
...
compression. Refactored the code to remove duplication between tls/non-tls
versions of the server, which appear to have been cut & paste copies of
one another that had diverged slightly. This makes some of the fixes to
the non-tls server available in the tls server.
cryptonomex/graphene#619
2016-03-10 17:22:28 -05:00
Nathan Hourt
d0b4b64923
Remove log spam
2015-05-27 16:15:49 -04:00
Daniel Larimer
9ef91e2245
partial fixes to crashing on websocket client close
2015-05-12 17:15:00 -04:00
Daniel Larimer
c28ed38f1a
adding support for secure websocket client
2015-05-12 16:16:10 -04:00
Daniel Larimer
fb62b6421c
adding ssl support to websocket
2015-05-12 14:50:08 -04:00
Daniel Larimer
c8200afade
better close notification and error handling
2015-04-01 10:25:57 -04:00
Daniel Larimer
e506e4f4be
added listen on a specific endpoint/port pair
2015-03-30 16:56:28 -04:00
Daniel Larimer
74b707999c
fix bugs with websocket and integrate API support
2015-03-27 16:29:33 -04:00
Daniel Larimer
4ce26f068f
implement simple websocket wrapper ontop of websocketpp
2015-03-26 16:51:10 -04:00