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

RE: SVN Protocol

From: Ramprasad Venkata Inala <rinala_at_cordys.com>
Date: 2005-06-08 14:21:00 CEST

Hi Max,
Thanks for rectifying me.

The below are the sequence of requests and responses that I send and
receive.
Proxy: ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )
Yes you were right I sending some junk at the end of the first request (
that I picked from a Turkish and japanese sites..
http://knuth.cs.bilgi.edu.tr/~canburak/blog/index.php?entry=entry050327-
150234
http://translate.google.com/translate?hl=en&sl=ja&u=http://ukai.jp/debua
n/2003s/subversion-arch.txt&prev=/search%3Fq%3Dresponse:%2B(%2Bversion:n
umber%2B(%2Bcap:word%2B...%2B)%2Burl:string%2B)%26hl%3Den%26lr%3D%26rls%
3DGGLD,GGLD:2005-18,GGLD:en
) now it is truncated

Client: ( 2 ( edit-pipeline ) 28:svn:///d:/svnrep/SVNProtocol )
OK.

Now for the authentication I send this request I know that I need to
send a realm string but do not know what I should send.
Format
auth-request: ( ( mech:word ... ) realm:string )

Proxy: ( ( ANONYMOUS ) ? )

That's the reason now the client is not sending back a response.

Regards
Ramprasad

-----Original Message-----

**********************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee. Access to this message
by anyone else is unauthorized. If you are not the intended recipient, any
disclosure, copying, or distribution of the message, or any action or
omission taken by you in reliance on it, is prohibited and may be unlawful.
Please immediately contact the sender if you have received this message in
error.
**********************************************************************

From: Max Bowsher [mailto:maxb@ukf.net]
Sent: Wednesday, June 08, 2005 2:29 PM
To: Ramprasad Venkata Inala
Cc: dev@subversion.tigris.org
Subject: Re: SVN Protocol

Ramprasad Venkata Inala wrote:
> Yes I have gone thru them; I follow the way that is mentioned in the
> connection establishment section.
> But it opens up another connection for the same client as mentioned
> below.

As I already responded to your duplicate email on users@, you do not
appear
to be following the protocol properly.

I reproduce my previous mail here:

Ramprasad Venkata Inala wrote:
> Hi,
>
> I want to write a proxy for SVN ( for SVN protocol )so that it passes
> through our versioning system. For the same I need to know the SVN
> protocol, which I understood from the protocol document placed in the
> SVN sources. There is some hiccup while handshaking with the client.
Let
> me explain in detail what I do.
>
> When a client ( using a subclipse ) tries to connect to the SVN
proxy(
> a socket server program written in java ) the proxy accepts the
> connection and spawns a new thread that will handle further the
requests
> for this client, so each client will have a thread that would handle
the
> streams. When server socket accepts the client request it sends back
> response in the format specified below.

> ( success ( 1 2 ( ANONYMOUS ) ( edit-pipeline ) ) )

Right.

> ( 2 ANONYMOUS ( ) ( ) )

What is this?? I do not see this in either the protocol document or in
captured traces of network traffic.

> The client responds back with the below response
> ( 2 ( edit-pipeline ) 28:svn:///d:/svnrep/SVNProtocol )

OK.

> Then the proxy sends a message in this format again to the client
> ( ( ( 31:d:/svnrep/SVNProtocol ) ) ( ANONYMOUS ( ) ) )

Again, what is this?? I do not see this in either the protocol document
or
in captured traces of network traffic.

> Then the problem starts here again when the client responds back then
it
> tries to open up another socket rather sending requests on the same
> stream which is a diversion from the connection establishment.

I suspect the client is giving up faced with the weird responses you are
giving it, and re-trying.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 8 14:22:43 2005

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