[prev in list] [next in list] [prev in thread] [next in thread]
List: squid-dev
Subject: Re: COSS problem
From: Guido Serassio <guido.serassio () acmeconsulting ! it>
Date: 2006-09-24 8:41:47
Message-ID: 6.2.5.6.2.20060924102434.051aac98 () acmeconsulting ! it
[Download RAW message or body]
Hi Adrian,
At 04.11 24/09/2006, Adrian Chadd wrote:
>On Sat, Sep 23, 2006, Guido Serassio wrote:
>
> > In storeCossDirSwapLogFile(), if Config.Log.swap is given, things are
> > always OK, but if Config.Log.swap is not configured and sd->path is
> > not a directory, aka is a regular file or a device, things are very
> > wrong: we append "/swap.state" to sd->path ....
> >
> > I think that here we must also add a check if sd->path is a
> > directory, and squid should fatal() if a device or file is specified
> > without configuring cache_swap_log in squid.conf.
>
>Yup. Just add the check.
>
>Does COSS work with raw disk devices under Windows?
I think no: the Windows ReafFileEx() function should work only on
file and socket handles.
Maybe with some undocumented trick ... :-)
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@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic