squid 3 is broken for non-delaypools builds

2003-03-03 Thread Adrian Chadd
yo, building with no delay pools doesn't work: [EMAIL PROTECTED]:~/work/squid/squid-cvs/squid3/src> make store.o source='store.cc' object='store.o' libtool=no depfile='.deps/store.Po' tmpdepfile='.deps/store.TPo' depmode=gcc /usr/local/bin/bash ../cfgaux/depcomp g++ -DHAVE_CONFIG_H -DDEFAUL

squid-3 issues

2003-03-03 Thread Adrian Chadd
Yo, source='ufs/store_dir_ufs.cc' object='ufs/store_dir_ufs.o' libtool=no depfile='.deps/ufs/store_dir_ufs.Po' tmpdepfile='.deps/ufs/store_dir_ufs.TPo' depmode=gcc /usr/local/bin/bash ../../cfgaux/depcomp g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include -I../../include -I..

Re: remove deferred reads

2003-03-03 Thread Adrian Chadd
On Mon, Mar 03, 2003, Henrik Nordstrom wrote: > m?n 2003-03-03 klockan 11.59 skrev Robert Collins: > > > It > > * removes deferred reads across the board > > * converts nearly all unready reads to the new DeferredRead framework. > > * leaves ssl reading 1 byte per IO cycle at minimum. > > * Includ

Re: remove deferred reads

2003-03-03 Thread Henrik Nordstrom
On Monday 03 March 2003 22.45, Henrik Nordstrom wrote: > Minor warning: As I am lazy the ftp code currently uses this on > writes to make sure a I/O buffer is freed. > > Intend to move this to the FtpState (remind me in some time I there > is no sign of so being done), but then there is the hypoth

Re: remove deferred reads

2003-03-03 Thread Henrik Nordstrom
On Monday 03 March 2003 21.31, Robert Collins wrote: > Adrian and I discussed this - [we|he]'ll be removing > COMM_ERR_CLOSING as part of a post-deferred reads removal comms > review. Minor warning: As I am lazy the ftp code currently uses this on writes to make sure a I/O buffer is freed. Inte

Re: remove deferred reads

2003-03-03 Thread Robert Collins
On Tue, 2003-03-04 at 00:28, Henrik Nordstrom wrote: > mån 2003-03-03 klockan 11.59 skrev Robert Collins: > > > It > > * removes deferred reads across the board > > * converts nearly all unready reads to the new DeferredRead framework. > > * leaves ssl reading 1 byte per IO cycle at minimum. > > *

Re: remove deferred reads

2003-03-03 Thread Robert Collins
On Tue, 2003-03-04 at 00:26, Henrik Nordstrom wrote: > Only one thing... but I guess this is mostly a question to Adrian: > > + * > + * NOTE: COMM_ERR_CLOSING will NOT be called for CommReads' sitting in > a > + * DeferredReadManager. > */ > > > makes me further question the need and value of

Re: about peer selection and tcp_outgoing_address

2003-03-03 Thread Henrik Nordstrom
squid-2.5 has ACL driven tcp_outgoing_address selection. What is missing to be able to select IP address based on which parent the request is forwarded to is acls for matching with parent the request is sent to.. The "dst" acl type matches the IP address of the requested host/domain found in the U

Re: about https

2003-03-03 Thread Henrik Nordstrom
mån 2003-03-03 klockan 19.46 skrev atit_ldce: > i am using intenet explorer 5.x > when i enter https://www.hotmail.com > > what will be type of protocol taken by squid Assuming you are using Squid as a proxy then the protocol will be NONE with a request method of CONNECT. -- Henrik Nordstrom <[

Re: how dns in squid works?

2003-03-03 Thread Henrik Nordstrom
mån 2003-03-03 klockan 10.27 skrev atit: > how dns in squid works? > > can u give me bried idea of how follwing hostname is resolved > www.yahoo.com > > give answer in terms of sequence of steps carried out in squid.. > > in squid source code there are 2 file for dns > 1)dns.c > 2)dns_interna

Re: remove deferred reads

2003-03-03 Thread Henrik Nordstrom
mån 2003-03-03 klockan 11.59 skrev Robert Collins: > It > * removes deferred reads across the board > * converts nearly all unready reads to the new DeferredRead framework. > * leaves ssl reading 1 byte per IO cycle at minimum. > * Includes David Nicklay's epoll patch. A short description of the

Re: remove deferred reads

2003-03-03 Thread Henrik Nordstrom
Only one thing... but I guess this is mostly a question to Adrian: + * + * NOTE: COMM_ERR_CLOSING will NOT be called for CommReads' sitting in a + * DeferredReadManager. */ makes me further question the need and value of COMM_ERR_CLOSING... What is the intention behind COMM_ERR_CLOSING? Wha

about https

2003-03-03 Thread atit_ldce
i am using intenet explorer 5.x when i enter https://www.hotmail.com what will be type of protocol taken by squid does it PROTO_HTTPS or any other while debugging i found it is PROTO_NONE. i have following tag in my conf file acl all src 192.68.1.0/24 acl parent1 dst 192.68.2.0 acl siblin

Re: Join to discuss NTLM Authentication

2003-03-03 Thread Henrik Nordstrom
mån 2003-03-03 klockan 12.27 skrev Gary Price (ICT): > thanks for your words of wisdom. Questions... > 1. The first indication that NTLM is required is that the server responds with 401, > and requests NTLM authentication. So the first > thing to look at is the response header from the origin se

Re: New case sensitive conflicts in HEAD

2003-03-03 Thread Guido Serassio
Hi Robert, At 12.21 02/03/2003, Robert Collins wrote: On Sun, 2003-03-02 at 22:16, Guido Serassio wrote: > Hi, > > I have just found a new conflicts on case insensitive systems (Windows): > > src\Config.h and include\config.h Doh! Again! Will fix asap. Thanks, but I need to know in advance how Yo

Re: Join to discuss NTLM Authentication

2003-03-03 Thread Robert Collins
On Mon, 2003-03-03 at 22:27, Gary Price (ICT) wrote: > > - detect when NTLM auth is required > yes > > say, by looking at response headers. > by looking at the request headers. > - > Henrik > thanks for your words of wisdom. Questions... > 1. The first indication that NTLM is r

Re: Join to discuss NTLM Authentication

2003-03-03 Thread Gary Price \(ICT\)
> - detect when NTLM auth is required yes > say, by looking at response headers. by looking at the request headers. - Henrik thanks for your words of wisdom. Questions... 1. The first indication that NTLM is required is that the server responds with 401, and requests NTLM aut

remove deferred reads

2003-03-03 Thread Robert Collins
Ok, I'd like to apply this patch: http://www.squid-cache.org/~robertc/deferred.patch.bz2 asap (Adrian has a couple of comms things to work on that depend on this to prevent collisions). It * removes deferred reads across the board * converts nearly all unready reads to the new DeferredRead framew

how dns in squid works?

2003-03-03 Thread atit
how dns in squid works? can u give me bried idea of how follwing hostname is resolved www.yahoo.com give answer in terms of sequence of steps carried out in squid.. in squid source code there are 2 file for dns 1)dns.c 2)dns_internal.c can u explain what is differance between them? how gopher

Re: about HTTPS request

2003-03-03 Thread Henrik Nordstrom
On Monday 03 March 2003 13.37, atit_ldce wrote: > in urlParse method of url.c when request is for https protocol > > method will be METHOD_CONNECT > > now consider follwing code that i have copied from function > if (method == METHOD_CONNECT) { > debug(17,3) ("urlParse: Protocol %d Method

Re: bug in HTTPS Request?

2003-03-03 Thread Henrik Nordstrom
On Monday 03 March 2003 12.58, atit_ldce wrote: > in sslStart function (which is called for handling https request > forwarding. am i correct?) value for request->protocol must be > PROTO_HTTPS but it is 0 means PROTO_NONE > is there any bug? ??? sslStart does not even look at the request->protoc

Re: Join to discuss NTLM Authentication

2003-03-03 Thread Henrik Nordstrom
On Monday 03 March 2003 01.41, Gary Price \(ICT\) wrote: > - detect when NTLM auth is required yes > say, by looking at response headers. by looking at the request headers. > - put the corresponding FD in the pconn cache with a key > that depends on the client IP and port the pconn cache shou

Re: Join to discuss NTLM Authentication

2003-03-03 Thread Henrik Nordstrom
On Monday 03 March 2003 01.27, Gary Price \(ICT\) wrote: > So my questions are > - is this really doing what it appears to be doing? Yes, as long as there is no pipelined connections. > - why does this appear to give no problems? Because there is sufficient gap between the requests to keep the