Skip to content
Snippets Groups Projects
Commit d0d9c3d7 authored by Esteban Manchado Velázquez's avatar Esteban Manchado Velázquez Committed by Nick Mathewson
Browse files

Fix parse_http_time and add tests

* It seems parse_http_time wasn't parsing correctly any date with commas (RFCs
  1123 and 850). Fix that.
* It seems parse_http_time was reporting the wrong month (they start at 0, not
  1). Fix that.
* Add some tests for parse_http_time, covering all three formats.
parent 3ed4c5dc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment