summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-27 01:18:07 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-27 01:18:07 -0400
commit7a4a5e6f117e2768e7ececc7cf62a2941203adf4 (patch)
treee3646b5c78196e05c20f84ac464cb470d6e1d777
parentc1bb197f7357738f748e141a844660ef5340bbf4 (diff)
downloadlibfhp-7a4a5e6f117e2768e7ececc7cf62a2941203adf4.tar.bz2
libfhp-7a4a5e6f117e2768e7ececc7cf62a2941203adf4.zip
clean up comment
-rw-r--r--fhp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fhp.c b/fhp.c
index 70a3858..416d054 100644
--- a/fhp.c
+++ b/fhp.c
@@ -642,7 +642,9 @@ retry:
CASE_OWS_CHARS
// ows-fold
- // add to buffer
+ // add space to buffer
+ // folding to ' ', as per RFC7230 3.2.4
+ // https://tools.ietf.org/html/rfc7230#section-3.2.4
if (!fhp_buf_push(fhp, FHP_TOKEN_HEADER_VALUE_FRAGMENT, ' '))
return FHP_ERR_CB;