Search squid archive

Re: 2.5_STABLE14 SquidNT Service Installation Crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

At 20.30 01/06/2006, Richard B. Maring wrote:

We have successfully compiled 2.5_SATBLE14NT under Visual Studio 2005.
Doing a squid -1 throws an 'Debug Assertion Failed' osfinfo.c line 314.
Commenting out the following in win32.c allows it to install.

    if (WIN32_OS_version !=_WIN_OS_WINNT) {
        /*if (getsockopt(INVALID_SOCKET, SOL_SOCKET, SO_OPENTYPE, (char
*)&opt, &optlen)) {
                  s_iInitCount = -3;
                  WSACleanup();
                  return (s_iInitCount);
        } else {
            opt = opt | SO_SYNCHRONOUS_NONALERT;
            if (setsockopt(INVALID_SOCKET, SOL_SOCKET, SO_OPENTYPE, (char *)
&opt, optlen)) {
                        s_iInitCount = -3;
                        WSACleanup();
                        return (s_iInitCount);
            }
        } */

However, it fails with the same error when the service is started.
Any ideas on why this is failing to set socket options properly?

The Windows port of Squid 2.5 and Squid 2.6 cannot run if compiled with Visual Studio 2005, there are too many "improvements" in the generated code..
Please use Visual Studio 6.0 instead.

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: guido.serassio@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux