Modify

Opened 7 years ago

Closed 7 years ago

#7458 closed defect (fixed)

Bug in parsing mechanism for uhttpd config file

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: base system Version: Backfire 10.03
Keywords: Cc:

Description

With the following lines in /etc/config/uhttpd:

# HTTP listen addresses, multiple allowed
list listen_http 10.0.0.251:80
# HTTPS listen addresses, multiple allowed
list listen_https 0.0.0.0:443

I get the following output from "netstat -na":
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 10.0.0.251:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.251:443 0.0.0.0:* LISTEN

If I remove the port 80 config line, the config is parsed correctly and "netstat -na" lists:
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN

Putting the port 443 config lines above the port 80 config lines does not change things.

Running on a freshly installed Backfire 10.03 from
http://downloads.openwrt.org/backfire/10.03/brcm47xx/openwrt-brcm47xx-squashfs.trx with px5g and luci-px5g installed.

I've earlier reported another bug regarding httpd config file parsing weirdness (http://luci.subsignal.org/trac/ticket/102) which is still unresolved as far as I can tell, I hope this will be resolved faster.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed by r21762.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.