svn commit: r1700133 - /serf/trunk/buckets/response_buckets.c
[email protected] Sun, 30 Aug 2015 16:11:40 -0000
| Newsgroups | gmane.comp.apache.apr.serf.devel |
|---|---|
| Message-ID | <20150830161140.5CBE1AC0024__15186.4036954523$1443916067$gmane$org@hades.apache.org> |
Author: rhuijben
Date: Sun Aug 30 16:11:39 2015
New Revision: 1700133
URL: http://svn.apache.org/r1700133
Log:
* buckets/response_buckets.c
(parse_status_line): Update revision comment.
(run_machine): Tweak comment to avoid being a revision.
Modified:
serf/trunk/buckets/response_buckets.c
Modified: serf/trunk/buckets/response_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/buckets/response_buckets.c?rev=1700133&r1=1700132&r2=1700133&view=diff
==============================================================================
--- serf/trunk/buckets/response_buckets.c (original)
+++ serf/trunk/buckets/response_buckets.c Sun Aug 30 16:11:39 2015
@@ -145,7 +145,7 @@ static apr_status_t parse_status_line(re
/* ctx->linebuf.line should be of form: 'HTTP/1.1 200 OK',
but we also explicitly allow the forms 'HTTP/1.1 200' (no reason)
and 'HTTP/1.1 401.1 Logon failed' (iis extended error codes)
- NOTE: Since r2465 linebuf.line is always NUL terminated string. */
+ NOTE: Since r1699995 linebuf.line is always NUL terminated string. */
res = apr_date_checkmask(ctx->linebuf.line, "HTTP/#.# ###*");
if (!res) {
/* Not an HTTP response? Well, at least we won't understand it. */
@@ -287,7 +287,7 @@ static apr_status_t run_machine(serf_buc
/* Advance the state. */
ctx->state = STATE_BODY;
- /* If this is a response to a HEAD request, or code == 1xx,204 or304
+ /* If this is a response to a HEAD request, or code 1xx, 204 or 304
then we don't receive a real body. */
if (!expect_body(ctx)) {
ctx->body = serf_bucket_simple_create(NULL, 0, NULL, NULL,