diff options
author | Eric Wong <normalperson@yhbt.net> | 2012-03-03 09:13:22 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2012-03-03 09:52:45 +0000 |
commit | e9fada6db32ad1f2402e5993c6eb6fec55d4c174 (patch) | |
tree | f221a24d5130d7b63a8ab96f65a8694f79deaaeb /http.c | |
parent | 5112629a1c0a4612ede6b031aa3c302f128e9ff4 (diff) | |
download | cmogstored-e9fada6db32ad1f2402e5993c6eb6fec55d4c174.tar.gz |
We didn't have rcapa in the past, but now we do, so use it. rsize is only used for stashing buffers in per-client (fdmap) areas.
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,8 +117,8 @@ static enum mog_next http_queue_step(struct mog_fd *mfd) if (http->rbuf) { /* request got pipelined, resuming now */ buf_len = http->rbuf->rsize; - http->rbuf->rsize = http->rbuf->rcapa; assert(http->offset <= buf_len && "bad offset from pipelining"); + assert(buf_len <= http->rbuf->rcapa && "bad rsize stashed"); if (http->offset < buf_len) goto parse; } |