On 20.01.2013 02:51, Justin Erenkrantz wrote: > On Fri, Jan 18, 2013 at 7:54 AM, Branko Čibej <br...@wandisco.com > <mailto:br...@wandisco.com>> wrote: > > Doesn't help ... apparently because we get both APR_POLLIN and > APR_POLLHUP events, and the former is processed first, the > function returns without error in the previous block: > > /* If we decided to reset our connection, return now as we don't > * want to write. > */ > if ((conn->seen_in_pollset & APR_POLLHUP) != 0) { > return APR_SUCCESS; > } > > I don't know enough about Serf to even begin guessing at the > correct solution. > > > The same if check works in that block too. =)
I guessed it should have, but when I tried that, the silly thing still hung. I suppose I must've done something silly in the copy/paste. > With the debug-abort flag set with serf r1717+ (backported to 1.2.x > as well): > > % svn ls http://localhost:21974/svn-test-work/repositories/basic_tests-3 > svn: E120108: Unable to connect to a repository at URL > 'http://localhost:21974/svn-test-work/repositories/basic_tests-3' > svn: E120108: Error running context: The server unexpectedly closed > the connection. > > Enjoy. -- justin Thanks. Testing this right now. -- Brane -- Branko Čibej Director of Subversion | WANdisco | www.wandisco.com