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

Re: [PATCH] fix non interruptable hang in svn client when connecting

From: David James <james82_at_gmail.com>
Date: 2005-08-25 21:22:39 CEST

On 8/25/05, Yun Zheng Hu <yunzheng.hu@gmail.com> wrote:
> server.sin_addr.s_addr = inet_addr("www.google.com");
> printf("Try killing this process..\n");
> do {
> rc = connect(sock,
> (const struct sockaddr *)&server,
> sizeof(server));
> } while (rc == -1);

It is probably not a good idea to run this code, because it sends a
potentially infinite number of requests to www.google.com. May I
suggest targeting instead, for test scripts?



David James -- http://www.cs.toronto.edu/~james
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 25 21:23:17 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.