Project

General

Profile

Actions

Bug #608

closed

Assertion failure when global{} not inside a conditional

Added by Anonymous about 18 years ago. Updated over 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
core
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by moo about 18 years ago

i'll check it later.

Actions #2

Updated by moo about 18 years ago

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

fixed in r1125

Actions

Also available in: Atom