[JDEV] DNS problems on Cygwin with Jabber 1.4.2 - can't add remote buddies

Steven Brown swbrown at ucsd.edu
Sun Jul 27 22:14:03 CDT 2003



> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On 
> Behalf Of Steven Brown
> Sent: Sunday, July 27, 2003 6:42 PM
> To: jdev at jabber.org
> Subject: RE: [JDEV] DNS problems on Cygwin with Jabber 1.4.2 
> - can't add remote buddies

> Sun Jul 27 18:02:49 2003  (null) DNSRV CHILD: Read from buffer:
> <host>update.jabber.org</host><stream><resend
> service="_jabber._tcp">s2s</resend><resend>s2s</resend>

Fixed it (well, temporarily hacked it to work).  There's a race in the
cygwin version of dnsrv that causes host queries to occur before the
child init, as seen in the above line.  <stream> should always be first.
Patch is attached, but it'll need a better pth-based solution for
syncing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jabber-dnsrv-cygwin-swb.patch
Type: application/octet-stream
Size: 551 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20030727/af02f9e1/attachment-0002.obj>


More information about the JDev mailing list