Rossen Georgiev
e356933aa0
parse message body only when there are listeners
6 years ago
Rossen Georgiev
91377faa82
refactor unified messages to use the new methods
* Removed SteamClient.unified_messages
* Added steam.exceptions.SteamError
6 years ago
Rossen Georgiev
6cd718e2f9
Improve CM server bootstrap discovery ( #168 )
* remove builtin cm list
* add bootstrap_from_dns to resolve cm0.steampowered.com
* add error and logging when cm server list is empty
* add auto_discovery flag; true by default
* when CMServerList is empty it will try to bootstrap from webapi, with dns fallback
* rework SteamClient CM server persistance logic
* move discovery logic from CMServerList to CMClient
* propagate connect() return through all login methods
* detect stale persisted cm list and update
6 years ago
Rossen Georgiev
bde363cf2f
remove dead CM servers
8 years ago
Rossen Georgiev
d247b9676d
fix missing and incorrect return statements
fix #132
8 years ago
Rossen Georgiev
43d98fbe39
update CM bootstrap list #127
8 years ago
Rossen Georgiev
96fecc42a5
fix bootstrap_from_webapi(); #127
8 years ago
Rossen Georgiev
4e11073056
SteamClient: use of sleep & idle methods
fix #89
8 years ago
Rossen Georgiev
20410a6939
fix missing , in bootstrap list
8 years ago
Rossen Georgiev
62802d19cc
remove dead CMs from bootstrap list
8 years ago
Rossen Georgiev
13088eea11
docs: clean up disconnect() docstring
9 years ago
Rossen Georgiev
3ab6c14fb4
SC: get_web methods will get new nonce when called
9 years ago
Rossen Georgiev
49e4d35d3b
added EVENT properties for each event identifier
This should make documenting events much better
9 years ago
Rossen Georgiev
19b8272647
renamed log property in CMServerList
9 years ago
Rossen Georgiev
5f11d6d7cc
persist CM server list in credential location
fix #31
When credential location is set, SteamClient will save CM server list
and use it to bootstrap when necessary.
9 years ago
Rossen Georgiev
f36ddfd116
use new webapi shortcuts in SteamClient
9 years ago
Rossen Georgiev
a96c7f0737
fix connect retry bug; add reconnect event
9 years ago
Rossen Georgiev
7af1c66938
Reworked reconnect code #24
* reconnect is no longer done automatically
* added `reconnect` method to SteamClient implementing exp backoff
9 years ago
Rossen Georgiev
2265b22651
CMClient: added retry param to connect()
9 years ago
Rossen Georgiev
f5b04d66b4
reworked secure channel request handling
* will now try reconnect on error
9 years ago
Rossen Georgiev
318b9235c5
[minor] align variable comments
9 years ago
Rossen Georgiev
cf7b5223b2
give 5s for logon handler to call disconnect; #22
9 years ago
Rossen Georgiev
d19cc954d3
remove unneeded return
9 years ago
Rossen Georgiev
881a0731c3
fix not reseting channel_key on disconnect
9 years ago
Rossen Georgiev
8989338bac
fix steamclient logon race condition
9 years ago
Rossen Georgiev
a327e853d0
reworked debug message in multi message
9 years ago
Rossen Georgiev
a98ec478a3
turn CMClient into a mixin
9 years ago
Rossen Georgiev
51344f3ac9
prevent overlapping connect(); no client reconnect
9 years ago
Rossen Georgiev
6666aed490
fix wait_event during channel encrypt handshake
9 years ago
Rossen Georgiev
ae8326f591
reworked CMClient conn drop handling; fix #21
9 years ago
Rossen Georgiev
947b93c6fe
fix #23 ; protocol_version=65579 and gzip decomp
9 years ago
Rossen Georgiev
6a0f61bcd8
fix #21 ; introduce exponential backoff delay when reconnecting
9 years ago
Rossen Georgiev
f0d91015c6
fix #22 ; don't reset current_server_addr
9 years ago
Rossen Georgiev
95389f8da8
few py3 comp changes
9 years ago
Rossen Georgiev
771425bb1a
up v0.6.5; add 5s min connection retry interval
9 years ago
Rossen Georgiev
d60c9f222b
fix reset_attribute sometimes raising AttributeError
9 years ago
Rossen Georgiev
4ac7b78f16
updated built in cm list + bootstrap from WebAPI
* updated built in server list
* added bootstrap_from_builtin_list
* added bootstrap_from_webapi
9 years ago
Rossen Georgiev
63043a0a43
added webapi_nonce to CMClient; updated docs
9 years ago
Rossen Georgiev
531f7543cf
removed EventEmitter as it's now a seperate module
9 years ago
Rossen Georgiev
bd91c81ca6
steam_id should always be a SteamID instance
9 years ago
Rossen Georgiev
cc780b249c
move verbose_debug outside of __init__
9 years ago
Rossen Georgiev
1630dd93c8
fix type introduces in fa470a6b24
9 years ago
Rossen Georgiev
fa470a6b24
CMClient: fix identation for _parse_message
9 years ago
Rossen Georgiev
dc19198e25
CMCLient: emit reconnect when about to reconnect
9 years ago
Rossen Georgiev
6ed43fcd87
avoid infinite wait during channel encrpytion
9 years ago
Rossen Georgiev
94598631b1
fix events not propagating in certain conditions
9 years ago
Rossen Georgiev
214258ee44
move proto bit helper func to steam.util
9 years ago
Rossen Georgiev
287eae4d37
added CMServerList object
10 years ago
Rossen Georgiev
dbb698ca0e
refactored CMClient disconnect handling
10 years ago
Rossen Georgiev
cc0754781f
added debug msg when using legacy encrypt protocol
10 years ago