Luke Dashjr
|
926fcd7ebe
Merge commit '56cfd55' into bfgminer-3.0.x
|
12 years ago |
Luke Dashjr
|
56cfd55622
Workaround libcurl bug to properly support HTTP proxies for stratum
|
12 years ago |
Luke Dashjr
|
2415073479
Bugfix: Add missing includes of config.h, stdbool.h, and stdint.h
|
12 years ago |
Luke Dashjr
|
1bffe4db86
Merge commit 'aee7b3f' into bfgminer-3.0.x
|
12 years ago |
Luke Dashjr
|
aee7b3fa6d
Bugfix: Stratum initiate: Clear json var after freeing it, to avoid a potential double-free if retry fails before new JSON is parsed
|
12 years ago |
Luke Dashjr
|
86517d86df
Silence warnings about (never really) uninitalised variables
|
12 years ago |
Luke Dashjr
|
4f6487ed20
Merge commit 'f94f3c9' into bfgminer-3.0.x
|
12 years ago |
Luke Dashjr
|
0d0780ac37
Merge commit 'd298890' into bfgminer-3.0.x
|
12 years ago |
Luke Dashjr
|
f94f3c9d7e
json_rpc_call_completed: Silence incorrect type cast warning
|
12 years ago |
Luke Dashjr
|
d298890824
Silence unused result warnings for notifier_{read,wake}
|
12 years ago |
Luke Dashjr
|
5e59c89557
Bugfix: Stratum: Avoid FD_SETting INVSOCK
|
12 years ago |
ckolivas
|
507091da74
Check for negative wait time in socket_full.
|
12 years ago |
ckolivas
|
886484a9ce
Adjust socket wait timeout in recv_line according to how long we've already waited to avoid a 60 second wait dropping to 1 second due to a blocked socket.
|
12 years ago |
Luke Dashjr
|
28fdf09efb
Merge commit 'e671bde' into bfgminer-3.0.x
|
12 years ago |
Luke Dashjr
|
e671bde947
Bugfix: notifier_init (Windows): setsockopt needs an int for SO_REUSEADDR
|
12 years ago |
Luke Dashjr
|
f8a9d3ecf2
Merge commit 'cdddd4b' into bfgminer-3.0.x
|
12 years ago |
Luke Dashjr
|
cdddd4be5c
Bugfix: Stratum Fix debug logging of initial mining.subscribe command
|
12 years ago |
Luke Dashjr
|
2adb5de68f
Bugfix: setup_stratum_curl: Need to release stratum lock on connection failure too
|
12 years ago |
Luke Dashjr
|
06c7289feb
Bugfix: setup_stratum_curl: Hold stratum lock until connection completes, to avoid potential races
|
12 years ago |
Matthias Strubel
|
13071bdda3
stratum: Deliver exact socket-error within the debug error message
|
12 years ago |
Con Kolivas
|
7cc026e2d4
Fulltest is true if value is <= target.
|
12 years ago |
Luke Dashjr
|
7e95c105df
Merge commit '659d26d' into bfgminer
|
12 years ago |
Luke Dashjr
|
659d26d9b8
Bugfix: Use HTTP/1.1 compatible product token for User-Agent header
|
12 years ago |
Luke Dashjr
|
cae7367310
Merge commit '1935865' into bfgminer
|
12 years ago |
Con Kolivas
|
1935865537
Receive failures in recv_line should unconditionally fail.
|
12 years ago |
Con Kolivas
|
fd3adbc734
Use sock_blocks function for stratum send and receive.
|
12 years ago |
Con Kolivas
|
18a62213e5
Avoid applog under stratum_lock in __stratum_send.
|
12 years ago |
Con Kolivas
|
6b0dac2dac
There should be no error response code with return value 0 in recv_line.
|
12 years ago |
Con Kolivas
|
1fe0575b93
Check for errors on stratum recv for any recv return value less than 1 and only parse the response if it's positive.
|
12 years ago |
Con Kolivas
|
69aa7ed368
Avoid applog under stratum_lock in recv_line.
|
12 years ago |