Build failed in Jenkins: 3.HEAD-i386-Debian-sid #802

2011-07-07 Thread noc
See 

Changes:

[Automatic source maintenance] SourceFormat Enforcement

--
[...truncated 5222 lines...]
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ICAP_FAILURE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_REQ: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_URL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_NO_RELAY: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_TIMEOUT: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_SHUTTING_DOWN: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_TOO_BIG: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_URN_RESOLVE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_WRITE_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ACCESS_DENIED: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_ACL_TIME_QUOTA_EXCEEDED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_CONNECT_FAIL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_FTP_PUT_CREATED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_FTP_PUT_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_FTP_PUT_MODIFIED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_GATEWAY_FAILURE: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_NO_RELAY: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_TIMEOUT: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_SHUTTING_DOWN: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_TOO_BIG: 
coercing to Unicode: need string or buffer, N

Build failed in Jenkins: 3.HEAD-i386-Debian-sid #801

2011-07-07 Thread noc
See 

Changes:

[Christos Tsantilas] Bug fixes: Multiple bugs in IdleConnList part3

- fix the IdleConnList::closeN to correctly close N connection objects


PS. what an exercise!

--
[...truncated 5222 lines...]
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ICAP_FAILURE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_REQ: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_URL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_NO_RELAY: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_TIMEOUT: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_SHUTTING_DOWN: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_TOO_BIG: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_URN_RESOLVE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_WRITE_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ACCESS_DENIED: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_ACL_TIME_QUOTA_EXCEEDED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_CONNECT_FAIL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_FTP_PUT_CREATED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_FTP_PUT_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_FTP_PUT_MODIFIED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_GATEWAY_FAILURE: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_NO_RELAY: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_TIMEOUT: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_SHUTTING_DOWN: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None,

Re: Patch for kerberos_ldap_group helper

2011-07-07 Thread Markus Moeller

Hi Amos,

 Could you please add this to the trunk.

Thank you
Markus


"Markus Moeller"  wrote in message 
news:iru0kr$bm1$1...@dough.gmane.org...

Hi,

Here is a small patch against the trunk to fix some minor issues.

Markus






Re: refresh_pattern not working?

2011-07-07 Thread Phil Oester
On Thu, Jul 07, 2011 at 12:13:26PM -0700, Phil Oester wrote:
> Running 3.1.12.2 here.  I have the standard refresh_pattern in my config:
> 
> refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
> refresh_pattern .   0   20% 4320
> 
> yet URLs with '?' in them are still being cached.  Example:

Sorry, ignore this.  I have misinterpreted this.  Looks like 
it is working as expected.

Thanks,
Phil


refresh_pattern not working?

2011-07-07 Thread Phil Oester
Running 3.1.12.2 here.  I have the standard refresh_pattern in my config:

refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
refresh_pattern .   0   20% 4320

yet URLs with '?' in them are still being cached.  Example:

# wget -S 
'http://ecn.t3.tiles.virtualearth.net/tiles/r023113.png?g=671&mkt=en-us'
--2011-07-07 14:45:01--  
http://ecn.t3.tiles.virtualearth.net/tiles/r023113.png?g=671&mkt=en-us
Resolving ecn.t3.tiles.virtualearth.net... 70.37.129.118, 70.37.129.107
Connecting to ecn.t3.tiles.virtualearth.net|70.37.129.118|:80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Cache-Control: public, max-age=31536000
  Content-Length: 23731
  Content-Type: image/png
  ETag: "667"
  Server: Microsoft-IIS/7.5
  X-VE-TFE: CH10061818
  X-VE-TILEMETA-CaptureDatesRange: 4/1/2010-4/1/2010
  X-VE-TILEMETA-Product-IDs: 32
  X-VE-TBE: CH10061625
  X-AspNet-Version: 4.0.30319
  X-Powered-By: ASP.NET
  Date: Fri, 20 May 2011 16:23:39 GMT
  Last-Modified: Thu, 10 Mar 2011 06:30:07 GMT
  Expires: Thu, 17 May 2012 17:09:08 GMT
  Age: 4325753
  Warning: 113 XXX (squid) This cache hit is still fresh and more than 1 day old
  X-Cache: HIT from XXX
  X-Cache-Lookup: HIT from XXX:85
  Via: 1.1 XXX (squid)
  Connection: keep-alive
Length: 23731 (23K) [image/png]
Saving to: "r023113.png?g=671&mkt=en-us"

Is the regex code in refresh_pattern broken?  

Phil


Build failed in Jenkins: 3.HEAD-i386-Debian-sid #800

2011-07-07 Thread noc
See 

--
[...truncated 5220 lines...]
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ICAP_FAILURE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_REQ: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_URL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_NO_RELAY: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_TIMEOUT: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_SHUTTING_DOWN: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_TOO_BIG: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_URN_RESOLVE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_WRITE_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ACCESS_DENIED: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_ACL_TIME_QUOTA_EXCEEDED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_CONNECT_FAIL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_FTP_PUT_CREATED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_FTP_PUT_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_FTP_PUT_MODIFIED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_GATEWAY_FAILURE: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_NO_RELAY: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_TIMEOUT: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_SHUTTING_DOWN: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_TOO_BIG: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite

Re: Ip::Address::IsAnyAddr

2011-07-07 Thread Tsantilas Christos

On 07/04/2011 01:35 PM, Amos Jeffries wrote:

On 29/06/11 23:23, Amos Jeffries wrote:

On 29/06/11 21:26, Tsantilas Christos wrote:


Hi all,
I am having a small problem with Ip::Address::IsAnyAddr method. As it is
implemented in the case the ipaddress is an IPv4 address and it is
AnyAddr, the IsAnyAddr method will return false.

I believe we should fix it as follows:



Actually that led to blocker regression issues with bind() of 0.0.0.0.
Reverted it for now.

What exactly was the "small problem" you mentioned?


I am trying to fix %la and %lp log formating codes to log the squid 
listening port ip address and port number in the case of intercepted 
connections. Currently they print the remote server ip address and port 
number.


So I need to print the ip address using the related http_port_list 
structure.


I need to do a test here http_port_list::s.IsAnyAddr to see it is 
listening to anyaddr (0.0.0.0), to print a "-",  or not to print its ip 
address.

Looks that when no ip address specified it is set to IPv4 anyAddr.

Is it normal to the IsAnyAddr to not return true if it is an ipv4 anyaddr?



Amos




Build failed in Jenkins: 3.HEAD-i386-Debian-sid #799

2011-07-07 Thread noc
See 

Changes:

[Amos Jeffries] Bug 3222: cache_peer name is not logging on CONNECT

[Christos Tsantilas] Bug fixes: Multiple bugs in IdleConnList part2

commit revno:11534  fixes:
- Inside IdleConnList::removeAt method the ellements deleted correctly from
the theList_ array. The problem was that if parent_ exist the size of the
array is not decreased and the last element was duplicated (the last two
ellements pointed to the same connection object).
The commit revno:11534 did not solve this problem and just created a
duplicate entry in an other position.
This patch solves the problems in IdleConnList::removeAt method.

Other:
- Remove the fd_table[fd].flags.read_pending tests inside IdleConnList::pop
and IdleConnList::findUsable methods. This flag currently is not fully
implemented and used only by the ssl stuff.

- Inside IdleConnList::closeN method in two positions we are storing the
reference of the Comm::Connection object which will be deleted, to use it
to clean up and close the connection later:
const Comm::ConnectionPointer &conn = theList_[--size_];
theList_[size_] = NULL;
This is wrong because the second command may delete the conn object, causing
assertion in Comm::Connection destructor, because it is still open, or
segmentation faults when trying to use the conn object later.
This patch replaces the pointer reference with a normal pointer.

- Call clearHandlers inside IdleConnList::pop and IdleConnList::findUsable
methods before return the Comm::Connection object to the user.

--
[...truncated 5223 lines...]
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ICAP_FAILURE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_REQ: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_INVALID_URL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_NO_RELAY: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_READ_TIMEOUT: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_SHUTTING_DOWN: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_TOO_BIG: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_URN_RESOLVE: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lt.po, 
output None, template ../.././test-suite/../errors/templates/ERR_WRITE_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_ACCESS_DENIED: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_ACL_TIME_QUOTA_EXCEEDED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_CONNECT_FAIL: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template 
../.././test-suite/../errors/templates/ERR_FTP_PUT_CREATED: coercing to 
Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/lv.po, 
output None, template ../.././test-suite/../errors/templates/ERR_FTP_PUT_ERROR: 
coercing to Unicode: need string or buffer, NoneType found
po2html: warning: Error processing: input ../.././test-suite/../errors/