Re: COSS problem

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 24 Sep 2006 10:11:10 +0800

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?

Adrian
Received on Sat Sep 23 2006 - 20:10:39 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT