You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by gs...@apache.org on 2012/05/06 18:14:02 UTC
svn commit: r1334677 - /subversion/trunk/subversion/libsvn_ra_serf/options.c
Author: gstein
Date: Sun May 6 16:14:02 2012
New Revision: 1334677
URL: http://svn.apache.org/viewvc?rev=1334677&view=rev
Log:
Fix redirect problem: ensure the HANDLER_POOL is set so that the
redirect information is captured on OPTIONS requests.
* subversion/libsvn_ra_serf/options.c:
(svn_ra_serf__create_options_req): initialize HANDLER_POOL
Modified:
subversion/trunk/subversion/libsvn_ra_serf/options.c
Modified: subversion/trunk/subversion/libsvn_ra_serf/options.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/options.c?rev=1334677&r1=1334676&r2=1334677&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/options.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/options.c Sun May 6 16:14:02 2012
@@ -445,6 +445,7 @@ svn_ra_serf__create_options_req(svn_ra_s
handler = apr_pcalloc(pool, sizeof(*handler));
+ handler->handler_pool = pool;
handler->method = "OPTIONS";
handler->path = path;
handler->body_delegate = create_options_body;