DOC: update RFC references
A few doc and code comment updates bumping RFC references to the new
ones.
diff --git a/include/common/defaults.h b/include/common/defaults.h
index 1618ab4..81dc3b1 100644
--- a/include/common/defaults.h
+++ b/include/common/defaults.h
@@ -136,7 +136,7 @@
#endif
// cookie delimitor in "prefix" mode. This character is inserted between the
-// persistence cookie and the original value. The '~' is allowed by RFC2965,
+// persistence cookie and the original value. The '~' is allowed by RFC6265,
// and should not be too common in server names.
#ifndef COOKIE_DELIM
#define COOKIE_DELIM '~'
diff --git a/include/proto/proto_http.h b/include/proto/proto_http.h
index 9409df3..14c0ce6 100644
--- a/include/proto/proto_http.h
+++ b/include/proto/proto_http.h
@@ -30,7 +30,7 @@
/*
* some macros used for the request parsing.
- * from RFC2616:
+ * from RFC7230:
* CTL = <any US-ASCII control character (octets 0 - 31) and DEL (127)>
* SEP = one of the 17 defined separators or SP or HT
* LWS = CR, LF, SP or HT
diff --git a/include/types/proto_http.h b/include/types/proto_http.h
index 9987c33..1d378ac 100644
--- a/include/types/proto_http.h
+++ b/include/types/proto_http.h
@@ -171,7 +171,7 @@
*/
HTTP_MSG_BODY = 27, // parsing body at end of headers
HTTP_MSG_100_SENT = 28, // parsing body after a 100-Continue was sent
- HTTP_MSG_CHUNK_SIZE = 29, // parsing the chunk size (RFC2616 #3.6.1)
+ HTTP_MSG_CHUNK_SIZE = 29, // parsing the chunk size (RFC7230 #4.1)
HTTP_MSG_DATA = 30, // skipping data chunk / content-length data
HTTP_MSG_CHUNK_CRLF = 31, // skipping CRLF after data chunk
HTTP_MSG_TRAILERS = 32, // trailers (post-data entity headers)
@@ -274,7 +274,7 @@
STAT_STATUS_SIZE
};
-/* This is an HTTP message, as described in RFC2616. It can be either a request
+/* This is an HTTP message, as described in RFC7230. It can be either a request
* message or a response message.
*
* The values there are a little bit obscure, because their meaning can change