On Fri, Jan 18, 2013 at 7:54 AM, Branko Čibej <[email protected]> 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. =) 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