Search squid archive

2.5_STABLE14 SquidNT Service Installation Crashes

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

 



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?

Rich Maring




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

  Powered by Linux