aboutsummaryrefslogtreecommitdiff
path: root/provider.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-01-15 19:20:18 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-01-15 19:20:18 +0100
commit160175a8d8378e2c6e058e802bdaaea118ab03d2 (patch)
tree2d1a43e1693d78e4f969cf4bc3a5dde080847223 /provider.go
parenta25f937faabfa066b441d3457a98668bc380102e (diff)
log nonces count
Diffstat (limited to 'provider.go')
-rw-r--r--provider.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/provider.go b/provider.go
index f200371..51f17ca 100644
--- a/provider.go
+++ b/provider.go
@@ -112,6 +112,7 @@ func (p *Provider) parseHeader(resp *http.Response) nextStep {
}
}
if rn := resp.Header.Get("Replay-Nonce"); rn != "" {
+ log.Println("# nonces", len(p.nonces))
p.nonces <- rn
}
return ns