RE: [squid-users] Building squid 3.1.0.13 on MS-Windows (minGW)

From: Nevil Thatcher <nevilth_at_nat.com.au>
Date: Mon, 17 Aug 2009 20:15:30 +1000

More than happy to help in any way I can.

-----Original Message-----
From: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
Sent: Monday, 17 August 2009 3:04 PM
To: Guido Serassio
Cc: Nevil Thatcher; squid-users_at_squid-cache.org; Squid Developers
Subject: Re: [squid-users] Building squid 3.1.0.13 on MS-Windows (minGW)

Guido Serassio wrote:
> Hi Amos,
>
> At 14.25 16/08/2009, Amos Jeffries wrote:
>> CC'ing to squi-dev. This really should be over there.
>> Maybe Guido can help.
>
> Probably the solution is not simple.
>
> As you know, the development of Squid 3 is stopped since April 2008
> after the bazaar migration.
>
> This means that ALL subsequent code changes to Squid 3 are fully
> untested on Windows.
> Two months ago I was able to fix all the build failures of Squid 3 when
> building using MinGW, but nothing was done on functionality side.
>
> Today, according to Canonical people, bazaar should really work on
> Windows, but the there are too much outstanding code changes to be
> checked for a single developer: looking to Squid 3.1 project summary,
> there are 1022 changesets with 204446 line insertion and 295342 line
> deletion.

The big part of that (source re-formatting, error page template changes,
and AsyncCalls) won't affect windows. The bits that will I think are
quite small. The problem is only the time and testing needed to find
them. Nevil has been very helpful and found this one, I think it's
worthwhile fixing whatever happens.

(This is only regarding the 3.0->3.1 diff, any big issues from 3.0 may
still be large problems).

>
> For my point of view, currently the Windows port of Squid > 3.0 must be
> considered fully broken because is incomplete and untested.
>
> Regards
>
> Guido
>

We have now limited this particular functionality problem to getaddrinfo().

I'm thinking the socket API wrappings in mswin.h just need to be
expanded to include those getaddrinfo/freeaddrinfo/getnameinfo calls.
That will cover one of the bigger gaps in the new system API calls 3.1
makes.

I was hoping you could help out with some info on how to do the wrapping
properly.

If Nevil is happy to continue as tester with this I'm happy to keep
debugging and fixing windows things by remote.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
   Current Beta Squid 3.1.0.13
Received on Mon Aug 17 2009 - 10:20:17 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 17 2009 - 12:00:03 MDT