From: Greg H. <hu...@cs...> - 2003-11-07 19:34:26
|
Yeah, this is historical, and has messed us up in the past too. We should kill it. -- Greg Humphreys, Assistant Professor Department of Computer Science, University of Virginia hu...@cs... > -----Original Message----- > From: chr...@li... > [mailto:chr...@li...] On Behalf > Of David Jones > Sent: Friday, November 07, 2003 2:31 PM > To: chr...@li... > Subject: [Chromium-dev] domainname stripping > > > > I was doing some chromium tests between two machines on different > clusters and ran into a problem that caused the mothership to > throw an > exception: > > ... > > Processing mothership request: "acceptrequest tcpip tg-v007 7000 0" > > MOTHERSHIP EXCEPTION! TERRIBLE! > Traceback (most recent call last): > File "../server/mothership.py", line 686, in Go > self.ProcessRequest( self.wrappers[sock] ) > File "../server/mothership.py", line 1337, in ProcessRequest > fn( sock_wrapper, string.join( words[1:] ) ) > File "../server/mothership.py", line 799, in do_acceptrequest > hostname = socket.gethostbyname(hostname) > gaierror: (-2, 'Name or service not known') > > > My setup has a server running on foo.domain1.edu and the app and > mothership are running on bar.domain2.edu. On the server, I set > the CR_HOSTNAME to foo.domain1.edu. However, crTCPIPAccept > doesn't pass > foo.domain1.edu as an argument to acceptrequest. It does this: > > temp = crStrchr( my_hostname, '.' ); > if (temp) *temp='\0'; > > So just 'foo' gets sent as the hostname to the mothership which then > causes the exception since 'foo' doesn't exist on the > domain2.edu domain. > Unless there's a reason, can we get 'if (temp) *temp='\0';' > commented out > in tcpip.c? > > Thanks, > Dave > > > 483,484c483,484 > < temp = crStrchr( my_hostname, '.' ); > < if (temp) *temp='\0'; > --- > > //temp = crStrchr( my_hostname, '.' ); > > //if (temp) *temp='\0'; > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Chromium-dev mailing list > Chr...@li... > https://lists.sourceforge.net/lists/listinfo/chromium-dev > |