|
|
@ -1432,7 +1432,7 @@ static bool auth_stratum(ckpool_t *ckp, connsock_t *cs, proxy_instance_t *proxi) |
|
|
|
LOGNOTICE("Proxy %d:%d %s failed to get a json result in auth_stratum, got: %s", |
|
|
|
LOGNOTICE("Proxy %d:%d %s failed to get a json result in auth_stratum, got: %s", |
|
|
|
proxi->id, proxi->subid, proxi->url, buf); |
|
|
|
proxi->id, proxi->subid, proxi->url, buf); |
|
|
|
} |
|
|
|
} |
|
|
|
goto out; |
|
|
|
goto out_noconn; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (err_val && !json_is_null(err_val)) { |
|
|
|
if (err_val && !json_is_null(err_val)) { |
|
|
@ -1453,7 +1453,6 @@ static bool auth_stratum(ckpool_t *ckp, connsock_t *cs, proxy_instance_t *proxi) |
|
|
|
} |
|
|
|
} |
|
|
|
LOGINFO("Proxy %d:%d %s auth success in auth_stratum", proxi->id, proxi->subid, proxi->url); |
|
|
|
LOGINFO("Proxy %d:%d %s auth success in auth_stratum", proxi->id, proxi->subid, proxi->url); |
|
|
|
out: |
|
|
|
out: |
|
|
|
if (val) |
|
|
|
|
|
|
|
json_decref(val); |
|
|
|
json_decref(val); |
|
|
|
if (ret) { |
|
|
|
if (ret) { |
|
|
|
/* Now parse any cached responses so there are none in the
|
|
|
|
/* Now parse any cached responses so there are none in the
|
|
|
|