serf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1711757 - /serf/trunk/buckets/hpack_buckets.c
Date Sun, 01 Nov 2015 13:24:06 GMT
Author: rhuijben
Date: Sun Nov  1 13:24:06 2015
New Revision: 1711757

URL: http://svn.apache.org/viewvc?rev=1711757&view=rev
Log:
* buckets/hpack_buckets.c
  (hpack_process): Don't read from the inner bucket once we decided we
    are done.

Modified:
    serf/trunk/buckets/hpack_buckets.c

Modified: serf/trunk/buckets/hpack_buckets.c
URL: http://svn.apache.org/viewvc/serf/trunk/buckets/hpack_buckets.c?rev=1711757&r1=1711756&r2=1711757&view=diff
==============================================================================
--- serf/trunk/buckets/hpack_buckets.c (original)
+++ serf/trunk/buckets/hpack_buckets.c Sun Nov  1 13:24:06 2015
@@ -1238,6 +1238,9 @@ hpack_process(serf_bucket_t *bucket)
   serf_hpack_decode_ctx_t *ctx = bucket->data;
   apr_status_t status = APR_SUCCESS;
 
+  if (ctx->hit_eof)
+    return APR_EOF;
+
   while (status == APR_SUCCESS)
     {
       switch (ctx->state)



Mime
View raw message