Re: Very odd problem running squid 2.7 on Windows

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 25 May 2009 22:55:01 +1200

Guido Serassio wrote:
> Hi,
>
> At 16.17 24/05/2009, Adrian Chadd wrote:
>> Well as Amos said, this isn't the way to call getservbyname().
>>
>> getservbyname() doesn't translate ports to ports; it translates
>> tcp/udp service names to ports. It should be returning NULL if it
>> can't find the service string in the file.
>>
>> Methinks numeric values shouldn't be handed to getservbyname() under
>> Windows. :)
>
> So, we have just found a Squid bug .... :-)
>
> Regards

Yes. Question becomes though, fastest way to detect numeric-only strings.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE15
   Current Beta Squid 3.1.0.8 or 3.0.STABLE16-RC1
Received on Mon May 25 2009 - 10:55:10 MDT

This archive was generated by hypermail 2.2.0 : Mon May 25 2009 - 12:00:02 MDT