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

AW: Logging Subversion client HTTP requests

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Mon, 1 Aug 2011 08:54:59 +0200

Hi,

Von: Manuel Lemos [mailto:mlemos_at_acm.org]

> Sorry, I did not mention that I am writing a pure PHP client

Hmm. Somehow even this Idea increases my headache level...

AFAICs, the SvnKit people are the only project really trying to develop an independend SVN implementation, and they go through great pains, even down to re-implementing SQLite...

I'm rather sure that PHP is not the right tool for that job.

> Anyway, I tried to hack SubVersion program code to insert some debug code
> to output the HTTP dialog but I got lost and could not figure where
> exactly the HTTP requests and responses are sent.

You should try to find calls to the serf and neon libraries, they encapsulate the http access.

> Anybody, knows where exactly is the code that sends and receives HTTP
> requests so I can hack it to just add some debug output in my svn command
> copy in order to see the HTTP dialog?

If you only want to see the http dialog, tools like Wireshark should do a much better job than messing up the code with debug prints.

Mit freundlichen Grüßen

Markus Schaber

___________________________
We software Automation.

3S-Smart Software Solutions GmbH
Markus Schaber | Entwicklung
Memminger Str. 151 | 87439 Kempten | Tel. +49-831-54031-0 | Fax +49-831-54031-50

Email: m.schaber@3s-software.com | Web: http://www.3s-software.com
CoDeSys Internet-Forum: http://forum.3s-software.com

Geschäftsführer: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Handelsregister: Kempten HRB 6186 | USt-IDNr.: DE 167014915
Received on 2011-08-01 08:56:10 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.