ckolivas
|
83287b2e12
Check for negative wait time in socket_full.
|
13 years ago |
ckolivas
|
96a8029be1
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.
|
13 years ago |
Luke Dashjr
|
a5dcd1919a
Merge commit 'e671bde' into bfgminer-2.10.x
|
13 years ago |
Luke Dashjr
|
e671bde947
Bugfix: notifier_init (Windows): setsockopt needs an int for SO_REUSEADDR
|
13 years ago |
Luke Dashjr
|
124ec276e4
Bugfix: Stratum Fix debug logging of initial mining.subscribe command
|
13 years ago |
Luke Dashjr
|
c87293326b
Bugfix: setup_stratum_curl: Need to release stratum lock on connection failure too
|
13 years ago |
Luke Dashjr
|
f8a3b0eeff
Bugfix: setup_stratum_curl: Hold stratum lock until connection completes, to avoid potential races
|
13 years ago |
Matthias Strubel
|
3589749993
stratum: Deliver exact socket-error within the debug error message
|
13 years ago |
Con Kolivas
|
1228fc6009
Fulltest is true if value is <= target.
|
13 years ago |
Luke Dashjr
|
698433b520
Merge commit '659d26d' into bfgminer-2.10.x
|
13 years ago |
Luke Dashjr
|
659d26d9b8
Bugfix: Use HTTP/1.1 compatible product token for User-Agent header
|
13 years ago |
Luke Dashjr
|
0d63741c2a
Merge commit '1935865' into bfgminer-2.10.x
|
13 years ago |
Con Kolivas
|
1935865537
Receive failures in recv_line should unconditionally fail.
|
13 years ago |
Con Kolivas
|
fd3adbc734
Use sock_blocks function for stratum send and receive.
|
13 years ago |
Con Kolivas
|
18a62213e5
Avoid applog under stratum_lock in __stratum_send.
|
13 years ago |
Con Kolivas
|
6b0dac2dac
There should be no error response code with return value 0 in recv_line.
|
13 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.
|
13 years ago |
Con Kolivas
|
69aa7ed368
Avoid applog under stratum_lock in recv_line.
|
13 years ago |
Con Kolivas
|
03309a1dab
Differentiate socket closed from socket error in recv_line.
|
13 years ago |
Luke Dashjr
|
260c64b6ce
Stratum: Include pool number in send/recv protocol logging
|
13 years ago |
Con Kolivas
|
599c4e5ba3
Differentiate socket closed from socket error in recv_line.
|
13 years ago |
Luke Dashjr
|
ecb72a9267
Merge commit '03cb5a7' into bfgminer-2.10.x
|
13 years ago |
Luke Dashjr
|
03cb5a7059
Bugfix: Safely handle all-space cURL debug messages, should they ever happen
|
13 years ago |
Luke Dashjr
|
e3f6bf2fa5
Merge commit '16dacbc' into bfgminer-2.10.x
|
13 years ago |
Luke Dashjr
|
16dacbcf1b
opencl: Include OpenCL platform in kernel binary filenames
|
13 years ago |
Luke Dashjr
|
84b8201032
Merge commit 'ea28140' into bfgminer-2.10.x
|
13 years ago |
Luke Dashjr
|
ea28140ac4
Bugfix: Stratum: When destroying cURL easy handle, be sure to clear pool stratum_curl pointer
|
13 years ago |
Luke Dashjr
|
c9a682549d
Merge commit '3fa8bdd' into bfgminer-2.10.x
|
13 years ago |
Luke Dashjr
|
3fa8bdd9b8
Bugfix: Stratum: Properly handle non-integer "id" for client.get_version requests
|
13 years ago |
Luke Dashjr
|
538190b958
json_dumps_ANY utility function to portably implement json_dumps(..., ... | JSON_ENCODE_ANY)
|
13 years ago |