Project

General

Profile

Bug #608

Assertion failure when global{} not inside a conditional

Added by Anonymous over 13 years ago. Updated about 12 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

Lighttpd produces an assertion failure when there's a global{} block not within the global context (not within any conditional blocks).

Eg, having this in the configuration file:


global {
  $HTTP["host"] =~ "^www\.(.*)" {
    url.redirect = ( "^/(.*)" => "http://%1/$1" )
  }
}

Results in:


lighttpd: array.c:75: array_pop: Assertion `a->used != 0' failed.

-- intgr

History

#1

Updated by moo over 13 years ago

i'll check it later.

#2

Updated by moo over 13 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r1125

Also available in: Atom