Bug 9866 - apache 2.0.36 mod_include seems to have flow control problem
Summary: apache 2.0.36 mod_include seems to have flow control problem
Status: CLOSED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_include (show other bugs)
Version: 2.0.36
Hardware: Sun other
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-14 13:27 UTC by Ping Xiao
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ping Xiao 2002-06-14 13:27:54 UTC
The flow control doesn't seem to skip the else section. For example,
if true1
  do 1
else
  do 2
  if true2
     do 22
  else
     do 3
  endif
endif

In my case, when "true1" instead of perform "do 1" and then finish, it keeps on 
performing "do 2" and the condition tset "if true2", and so on.
Comment 1 Ping Xiao 2002-06-14 13:41:21 UTC
Don't know how to correct original description, so I add my correction here:

It didn't actually perform the "do 2" but it performed the "if true 2" 
when "true 1" was satisfied.
Comment 2 Brian Pane 2002-06-15 05:52:54 UTC
Thanks for catching this.

I've just committed a fix for inclusion in 2.0.38 (which hopefully
will be tagged tomorrow).