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

Response header fetching in Neon 0.25.0.

From: <kfogel_at_collab.net>
Date: 2005-05-06 23:26:07 CEST

In Neon 0.25.0, ne_add_response_header_handler() has been replaced
with ne_get_response_header(). This means that instead of setting a
callback to be invoked by Neon when a given response header is seen,
we just fetch response headers after the request is done, by calling
ne_get_response_header(ne_request *req).

We've mostly completed the process of upgrading Subversion to Neon
0.25.0 (see http://subversion.tigris.org/issues/show_bug.cgi?id=2297),
including fetching response headers as described above.

But there's one place where I don't know how to make that change:
Subversion uses ne_lock(), ne_unlock(), and ne_lock_discover(), all of
which create their own ne_request objects internally. Subversion
never has a chance to get custom headers from the response, because it
never even has a handle on the request object, only on the ne_session.

What should we do?

I looked in ne_lock.h for some sort of callback mechanism, but didn't
see anything.

Thanks
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 7 00:02:18 2005

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.