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

ra_serf infinite loop with mod_ssl and mod_deflate

From: Philip Martin <philip_at_codematters.co.uk>
Date: Wed, 05 Nov 2014 14:24:46 +0000

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-05 15:25:24 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.