Skip to content
Snippets Groups Projects
Commit 99669c69 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Note limitation of parse_rfc_1123_time

RFC1123 suggests that we should handle two-year times, and a full
range of time zones, and other stuff too.  We don't.
parent 864e15cd
No related branches found
No related tags found
No related merge requests found
......@@ -1408,6 +1408,9 @@ format_rfc1123_time(char *buf, time_t t)
/** Parse the (a subset of) the RFC1123 encoding of some time (in UTC) from
* <b>buf</b>, and store the result in *<b>t</b>.
*
* Note that we only accept the subset generated by format_rfc1123_time above,
* not the full range of formats suggested by RFC 1123.
*
* Return 0 on success, -1 on failure.
*/
int
......
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