Project

General

Profile

Actions

Bug #1142

closed

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

Added by rhinofly almost 17 years ago. Updated 3 months ago.

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

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
Actions #1

Updated by snailfly almost 17 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.

Actions #2

Updated by jan over 16 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.

Actions #3

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Missing Feedback
Actions #4

Updated by gstrauss 3 months ago

  • Description updated (diff)
  • Status changed from Missing Feedback to Fixed
  • Target version deleted (1.4.17)
  • ASK QUESTIONS IN Forums set to No
Actions

Also available in: Atom