DOC: update RFC references
A few doc and code comment updates bumping RFC references to the new
ones.
diff --git a/src/haproxy.c b/src/haproxy.c
index 02f90a8..261b213 100644
--- a/src/haproxy.c
+++ b/src/haproxy.c
@@ -7,8 +7,8 @@
* as published by the Free Software Foundation; either version
* 2 of the License, or (at your option) any later version.
*
- * Please refer to RFC2068 or RFC2616 for informations about HTTP protocol, and
- * RFC2965 for informations about cookies usage. More generally, the IETF HTTP
+ * Please refer to RFC7230 - RFC7235 informations about HTTP protocol, and
+ * RFC6265 for informations about cookies usage. More generally, the IETF HTTP
* Working Group's web site should be consulted for protocol related changes :
*
* http://ftp.ics.uci.edu/pub/ietf/http/
diff --git a/src/proto_http.c b/src/proto_http.c
index 579473b..53bfd8b 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -850,8 +850,8 @@
return 0;
}
-/* Find the end of the header value contained between <s> and <e>. See RFC2616,
- * par 2.2 for more information. Note that it requires a valid header to return
+/* Find the end of the header value contained between <s> and <e>. See RFC7230,
+ * par 3.2 for more information. Note that it requires a valid header to return
* a valid result. This works for headers defined as comma-separated lists.
*/
char *find_hdr_value_end(char *s, const char *e)
@@ -1119,7 +1119,7 @@
if (ptr >= end)
return NULL;
- /* RFC2616, par. 5.1.2 :
+ /* RFC7230, par. 2.7 :
* Request-URI = "*" | absuri | abspath | authority
*/