Hi David!

This Patch really helps! we tested it under different conditions:

   1. without patch with dns server
   2. without patch with wrong dns server address
   3. with patch with dns server
   4. with patch with wrong dns server address

second test showed slowest connection (10-20 seconds)
first - about 1 second
third and fourth - immediate

2009/10/6 Romeo <[email protected]>

> Hi David!
>
> Thank you for the patch! we'll try it today!
>
> 2009/10/5 David Baelde <[email protected]>
>
> Hi Romeo,
>>
>> Here is a patch that forcibly desactivates reverse DNS lookups. If
>> that really helps you (and it could) we should consider making this
>> optional.
>>
>> Index: src/tools/harbor.ml
>> ===================================================================
>> --- src/tools/harbor.ml (revision 6766)
>> +++ src/tools/harbor.ml (working copy)
>> @@ -488,7 +488,7 @@
>>                     | _ -> assert false
>>           in
>>           try
>> -            (gethostbyaddr a).h_name
>> +            raise Not_found ; (gethostbyaddr a).h_name
>>           with
>>             | Not_found -> string_of_inet_addr a
>>         in
>> Index: src/tools/server.ml
>> ===================================================================
>> --- src/tools/server.ml (revision 6766)
>> +++ src/tools/server.ml (working copy)
>> @@ -303,7 +303,7 @@
>>             | _ -> assert false
>>         in
>>         try
>> -          (gethostbyaddr a).h_name
>> +          raise Not_found ; (gethostbyaddr a).h_name
>>         with
>>           | Not_found -> string_of_inet_addr a
>>         in
>>
>
>
>
> --
> Best Regards.
> Romeo.
>



-- 
Best Regards.
Romeo.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to