[prev in list] [next in list] [prev in thread] [next in thread]
List: subversion-issues
Subject: [Issue 4466] confusing error when socket is closed with mod_deflate enabled
From: philip () tigris ! org
Date: 2014-01-28 9:47:22
Message-ID: 20140128094722.0C271540054 () sc157-tigr ! sjc ! collab ! net
[Download RAW message or body]
http://subversion.tigris.org/issues/show_bug.cgi?id=4466
------- Additional comments from philip@tigris.org Tue Jan 28 01:47:21 -0800 2014 -------
Using serf 1.3.x@2241 the error is raised by this code:
/* Hide EOF. */
if (APR_STATUS_IS_EOF(status)) {
status = ctx->stream_status;
/* If our stream is finished too, return SUCCESS so
* we'll iterate one more time.
*/
if (APR_STATUS_IS_EOF(status)) {
/* No more data to read from the stream, and everything
inflated. If all data was received correctly, state
should have been advanced to STATE_READING_VERIFY or
STATE_FINISH. If not, then the data was incomplete
and we have an error. */
if (ctx->state != STATE_INFLATE)
return APR_SUCCESS;
else
return SERF_ERROR_DECOMPRESSION_FAILED;
}
}
Breakpoint 2, serf_deflate_read (bucket=0x7ffff3cce038, requested=8000,
data=0x7fffffffd478, len=0x7fffffffd470) at buckets/deflate_buckets.c:355
355 return SERF_ERROR_DECOMPRESSION_FAILED;
(gdb) p status
$1 = 70014
(gdb) p ctx->state
$2 = STATE_INFLATE
So I suppose this is really a serf bug, it should be telling the caller that
server closed the socket in the middle of the data.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=463&dsMessageId=3072169
To unsubscribe from this discussion, e-mail: [issues-unsubscribe@subversion.tigris.org].
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic