[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: ra_serf infinite loop with mod_ssl and mod_deflate

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: Mon, 10 Nov 2014 23:14:59 -0500

What's the status code from serf_bucket_read() on line 1151? I would
expect that the socket read should be generating a ECONNABORTED
somewhere? -- justin

On Wed, Nov 5, 2014 at 9:24 AM, Philip Martin <philip_at_codematters.co.uk> wrote:
> Configure a server with both mod_ssl (HTTPS) and mod_deflate (HTTP
> compression). Start a checkout and the kill the server. The client
> goes into an infinite loop in libsvn_ra_serf/update.c:handle_fetch
>
> (gdb) n
> 1147 svn_txdelta_window_t delta_window = { 0 };
> (gdb) n
> 1151 status = serf_bucket_read(response, 8000, &data, &len);
> (gdb) n
> 1152 if (SERF_BUCKET_READ_ERROR(status))
> (gdb) n
> 1157 fetch_ctx->read_size += len;
> (gdb) n
> 1159 if (fetch_ctx->aborted_read)
> (gdb) n
> 1187 if (fetch_ctx->result_stream)
> (gdb) n
> 1191 else if (len)
> (gdb) n
> 1209 if (APR_STATUS_IS_EOF(status))
> (gdb) n
> 1218 if (status)
> (gdb) n
> 1220 }
> (gdb) n
> 1147 svn_txdelta_window_t delta_window = { 0 };
>
> I don't know if the bug is serf failing to report the socket error or
> ra_serf failing to handle the error.
>
> --
> Philip
Received on 2014-11-11 05:17:44 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.