uw-handle-empty-nonces #8
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "uw-handle-empty-nonces"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Although mainly a theoretical possibility, the server may send a candidate with
nonces := []
. If so, we need to request new nonces before populating the workers.I see uw-reset-worker is being merged in here too - but both changes look reasonable.
@ -117,0 +114,4 @@
%% Nonces may be [], in which case we need to request new nonces first.
#st{candidate = Cand1} = S1 = maybe_request_nonces(S#st{candidate = Cand}),
{Workers2, Cand2} = assign_nonces(Workers, Cand1),
#st{candidate = Cand3} = S2 = maybe_request_nonces(S1#st{candidate = Cand2}),
If assign_nonces took a single nonce from the list, will this second request immediately fire? I guess that is fine?
Checkout
From your project repository, check out a new branch and test the changes.