Project

General

Profile

Bug #1142

closed

Segmentation fault with proxy.debug = \"enable\"

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

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

Description

Segmentation fault with proxy.debug = \"enable\"


            $HTTP["url"] =~ "^/(truelove|sso)(.*)" {
                    proxy.debug = "enable" 
                    proxy.server  = ( "/" =>
                            (
                        ("host" => "172.17.18.20","port" => 9980), #
                        #("host" => "172.17.18.21","port" => 9980), #
                            )
                    )
            }

if no proxy.debug = \"enable\",every thing is ok.


Files

proxy_bug.txt (30.7 KB) proxy_bug.txt strace log rhinofly, 2007-04-24 10:02
#1

Updated by snailfly over 13 years ago

Replying to rhinofly:

Segmentation fault with proxy.debug = \"enable\"

{{{
$HTTPurl =~ "^/(truelove|sso)(.*)" {
proxy.debug = "enable"
proxy.server = ( "/" =>
(
("host" => "172.17.18.20","port" => 9980), #
#("host" => "172.17.18.21","port" => 9980), #
)
)
}

}}}

if no proxy.debug = \"enable\",every thing is ok.

Sorry,I found that proxy.debug = 1 will be ok,may be some check should be done in configure parser.

#2

Updated by jan about 13 years ago

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

Instead of a segfault I get:


(configfile-glue.c.91) got a string but expected a short: proxy.debug enable

which is the expected behaviour.

#3

Updated by stbuehler about 12 years ago

  • Status changed from Fixed to Missing Feedback

Also available in: Atom