delay_access and rep_mime_type

2008-08-11 Thread Nicolás Velásquez O.
Hello,

I would like to have a delay pool for all the heavy multimedia
downloading(and I'm sure I'm the only one). But rep_mime_type won't
work with delay_access, are there any plans to have delay pools
working with reply data streams?

I saw that someone has a patch, but didn't saw the code:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg53924.html


--
Nicolás Velásquez O.
Genève, Suisse
Mobile +41.797976460


Re: delay_access and rep_mime_type

2008-08-11 Thread Adrian Chadd
I'm still trying to finish off the work before committing it to Squid-2.HEAD.

Just be a little more patient! :/



Adrian

2008/8/11 Nicolás Velásquez O. [EMAIL PROTECTED]:
 Hello,

 I would like to have a delay pool for all the heavy multimedia
 downloading(and I'm sure I'm the only one). But rep_mime_type won't
 work with delay_access, are there any plans to have delay pools
 working with reply data streams?

 I saw that someone has a patch, but didn't saw the code:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg53924.html


 --
 Nicolás Velásquez O.
 Genève, Suisse
 Mobile +41.797976460



Re: delay_access and rep_mime_type

2008-08-11 Thread Adrian Chadd
2008/8/12 Nicolás Velásquez O. [EMAIL PROTECTED]:

 Also, after some thinking about delay pools concept, I thought that it
 would be interesting to have shared pools. Say that you have 12Mbps of


I agree having shared/hierarchical pools is a nifty idea. It'd be a
bit horrible to implement given the current code structure (in -2
and/or -3) so quite a bit of thought would need to first be given to
how best organise things..



Adrian


Re: Environment to build a squid helper

2008-08-11 Thread Henrik Nordstrom
Unfortunately there is only Guido woring on his sparetime (the little he
have) on the Windows port of Squid, which means there is very limited
support for Visual Studio. For some reason using later versions does not
work out well and is why Squid is still using that old and now
end-of-life compiler version. It is unclear to me if that's due to Squid
or oddness of Visual Studio triggered by Squid..

But it should build just fine in MinGW+MSYS. Instructions there should
be the same as for UNIX.

1. Install MinGW + MSYS and the other required tools (perl, awk, maybe
more.. you'll notice whats missing when trying the next step).

2. Start a MSYS shell and do the rest from there

   tar jxf squid-xxx.tar.bz2
   cd squid-xxx
   ./configure ... [with the configure flags you need]
   make

[stop here if you just want one of the helpers.. copy it manually in
such case]

   make install


Regards
Henrik



On tis, 2008-08-05 at 10:09 +0100, [EMAIL PROTECTED] wrote:
 Dear Squid Dev,
 
 I got stuck over a modify of a Squid´s helper.The 
 installation of squid in windows environment to protect a server is a 
 project I´m bringing up for my final exam at university in 
 collaboration with a company.
 My aim is to modify mswin_check_ad_group.
 c for making request to  the DC only of a specified domain and, from 
 the code, create an executable to substitute the old helper in 
 squidNT to let it run in my windows network environment.
 I already 
 tried many solutions, with some advices from Guido Serassio said me I 
 should be more patient (but unfortunately the time is against me) and I 
 should use visual studio 6 to get the autogeneration of an header I 
 miss (default_config_file.h). Just the visual studio 6 is no more 
 avialble like the 2008 I´m using now.
 I tried with MinGW and MSYS but I 
 cannot manage to go through and have an output .exe of the helper.
 I 
 choosed Squid for his flexibility, cause works great as application 
 proxy and, above all, cause is opensource and I thought I could manage 
 to change the code but now I got stuck with the modify of the helper I 
 have to implement for our needs.
 Are only two lines of code to change, 
 but to bring up the environment and to procede with the changes is 
 getting quite complicated and I´m a bit lost.
 If you could be so kind 
 to help me and give me some instructions for my procedure I would be 
 really thanksful.
 Please respond to my e-mail.
 Looking forward for an 
 answer,
 Best Regards
 Antonio


signature.asc
Description: This is a digitally signed message part


Re: Making start/stop idempotent

2008-08-11 Thread Robert Collins
On Tue, 2008-08-12 at 14:43 +1000, Mark Nottingham wrote:
 Our management tools like processes to be idempotent; i.e., you should  
 be able to start or stop a process any number of times without it  
 throwing an error.
 
 Currently, Squid will return 1 if a squid process is already running  
 (upon start) and when there isn't one (upon -k shutdown).
 
 I'm writing a patch to change this behaviour, and the most reasonable  
 way to do it seems to be with a command-line option; I've somewhat  
 arbitrarily chosen -p.
 
 Does this seem reasonable? If so, I'll submit a patch shortly.

I would be happy with not needing an option to have idempotent
start-and-stop behaviour; we could use an option to preserve the current
behaviour (though that doesn't seem particularly useful).

-Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part