Module: sip-router Branch: master Commit: accfbe0abb0d811e249b687cb6047c9234a6d884 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=accfbe0a...
Author: Hugh Waite hugh.waite@acision.com Committer: Hugh Waite hugh.waite@acision.com Date: Mon Sep 8 17:46:55 2014 +0100
parser: Fix parsing of Retry-After header
- Allow no space between duration and optional comment
---
parser/parse_retry_after.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/parser/parse_retry_after.c b/parser/parse_retry_after.c index 2b37f91..5c30830 100644 --- a/parser/parse_retry_after.c +++ b/parser/parse_retry_after.c @@ -59,6 +59,7 @@ char* parse_retry_after(char* const buf, const char* const end, unsigned* const case ';': case '\r': case '\n': + case '(': goto found; default: /* invalid char */