-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xsrftoken: add custom timeout support for valid func
Added new function 'ValidFor' with custom token timeout support. Function 'Valid' will use default token timeout. Fixes golang/go#41438 Change-Id: I5cf0388aeed7ca34edcb0d3493c3e79c8ce19938 GitHub-Last-Rev: 3e3b581 GitHub-Pull-Request: #86 Reviewed-on: https://go-review.googlesource.com/c/net/+/260317 Run-TryBot: Ian Lance Taylor <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Trust: Filippo Valsorda <[email protected]>
- Loading branch information
1 parent
a7d1128
commit 59f7323
Showing
2 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters